Earlier quoted context omitted.
We don't teach pass by reference these days. Anyone you find in the real world under ~30 years old may not even be aware that you can pass a reference and modify it directly without having to make a method return a value. It's super cool to have someone explain to you side effects yet you show them a method with a null return and run it for them showing that the value has changed and they are mesmerized.
I don't believe this. Almost all mainstream languages use pass-by-reference by default. Java, python, javascript all pass objects by reference.
Ask HN: How is the job search coming along for people who got laid off?
321–330 of 579 posts
Re: Ask HN: How is the job search coming along for people who got laid off?
#322Didn't get laid off but resigned around a month ago after a long stretch of non-stop work since I was basically a kid (worked through college, university, and straight after O_o). Basically for a little break and to focus on doing some real intense OSS. Been a wild, challenging, and rewarding 1.5 months so far. Applied to a couple places that were working on some interesting things, some even related to my own OSS, r…
Similar story to mine, 7 YOE backend dev, working non-stop since I got into college, Hope that at least you got some rest.
All the best with your future!
Re: Ask HN: How is the job search coming along for people who got laid off?
#323Earlier quoted context omitted.
We don't teach pass by reference these days. Anyone you find in the real world under ~30 years old may not even be aware that you can pass a reference and modify it directly without having to make a method return a value. It's super cool to have someone explain to you side effects yet you show them a method with a null return and run it for them showing that the value has changed and they are mesmerized.
I don't believe this. Almost all mainstream languages use pass-by-reference by default. Java, python, javascript all pass objects by reference.
Re: Ask HN: How is the job search coming along for people who got laid off?
#324Earlier quoted context omitted.
I don't believe this. Almost all mainstream languages use pass-by-reference by default. Java, python, javascript all pass objects by reference.
They use pass by value but objects are reference valued.
Re: Ask HN: How is the job search coming along for people who got laid off?
#325Earlier quoted context omitted.
We don't teach pass by reference these days. Anyone you find in the real world under ~30 years old may not even be aware that you can pass a reference and modify it directly without having to make a method return a value. It's super cool to have someone explain to you side effects yet you show them a method with a null return and run it for them showing that the value has changed and they are mesmerized.
I don't believe this. Almost all mainstream languages use pass-by-reference by default. Java, python, javascript all pass objects by reference.
I've been developing for 25+ years in any language you can imagine, and know how to use pass by ref just fine, and know there are situations where it might be the best solution.
But I can't remember the last time I've used pass by ref. It's really just a coding style quirk for me, I find it "ugly" and it breaks my train of thought when reasoning through the flow of code. I certainly don't begrudge anyone who uses it though.
And OP's anecdote about the interview is certainly disheartening. You'd hope the interviewer would at least be open to the idea of learning something new. I've learned countless things from developers I've interviewed over the years, and I was incredibly happy about it each time.
Edit: In re-reading your comment and below replies it seems you may be misunderstanding what's being discussed. Yes, the things we pass into and out of functions tend to be object references by default. But when we say "pass by ref" (in some languages at least) we mean, essentially, modifying a value in a calling function without actually returning anything from the called function. That's a horrible way to explain it, but the MS documents for the "ref" keyword do a good job of showing examples:
https://learn.microsoft.com/en-us/dotnet/csharp/language-ref...
Re: Ask HN: How is the job search coming along for people who got laid off?
#326Earlier quoted context omitted.
How many CEO's are CEO'ing for more than one company? If they can do it, why not the plebs?
Because the plebs sign contracts saying they won’t. It’s not illegal, just highly unethical. It’s also not true, he does not know someone doing this.
I know a guy who overlapped months of two different jobs.
So it exists and happens. And for IC-type positions should be even easier.
Re: Ask HN: How is the job search coming along for people who got laid off?
#327Earlier quoted context omitted.
I don't believe this. Almost all mainstream languages use pass-by-reference by default. Java, python, javascript all pass objects by reference.
I don't believe they're saying the feature doesn't exist or never gets used, but rather it's rarely something that's taught to junior developers, and rarely something you see highlighted as a best practice. I've been developing for 25+ years in any language you can imagine, and know how to use pass by ref just fine, and know there are situations where it might be the best solution. But I can't remember the last time…
Re: Ask HN: How is the job search coming along for people who got laid off?
#328Re: Ask HN: How is the job search coming along for people who got laid off?
#329Earlier quoted context omitted.
ChatGPT is not going to eat all the jobs. Can we stop this nonsense, please?
I'll get scared when someone shows me an actual deployed, running, and maintained app by something like chatGPT. Solving problems with code snippets is a tiny part of the job
We’ll get another slew of decades long court cases once one line of Oracle or Microsoft code proprietary code comes out of chatGPT.
Re: Ask HN: How is the job search coming along for people who got laid off?
#330Earlier quoted context omitted.
No, that will also not happen. More developers will get hired, because ChatGPT will not perform the higher function tasks most developers actually spend most of their time working on. The reason this will happen, is because ChatGPT will be more efficient in performing the lower function tasks and there will be more of a need to put all that automatically created code into actual use, integrate it with Enterprise Pack…
> What possibly will happen is that junior developers will have even harder time getting into the industry, because clueless PHBs will see ChatGPT doing all their work "for free". A few years later they're screwed, because nobody at the company knows how their applications work. Except ChatGPT...maybe. Reads like what I said before. Some will be affected and less programmers will be needed,. Especially in particular,…
To anyone who used Copilot and ChatGPT it is obvious that in 5 years demands for entry to software dev will be much higher, and there will be less positions open, because sheer productivity increases for the already employed people will outpace the demand. It’s like peasants arguing about security of their future prospects in the beginning of 20th century after seeing a tractor.
Winter is coming, but they just can’t believe this since their income directly depends on this not being true.