News for hackers. Stuff that matters.
Re:Drunk Post: Things I've Learned as a Sr Engineer by user_50123890 on Sunday May 30, 2021 @01:01PM (#27334624)
Because good senior programmers are rare (as can be observed if you post a job listing).

Most of this stuff comes from students / junior developers, where yes, they probably visit stack overflow every 20 minutes

Re:Drunk Post: Things I've Learned as a Sr Engineer by MikeDelta on Sunday May 30, 2021 @01:12PM (#27334725)
They should try programming on an airplane or without internet connection. For some the productivity drops to zero without stack overflow.
Re:Drunk Post: Things I've Learned as a Sr Engineer by hutzlibu on Sunday May 30, 2021 @06:22PM (#27337460)
"For some the productivity drops to zero without stack overflow."

And it is bad to be a newb? And even for experienced devs to go to stackoverflow regulary ... isn't it productive, to not always reinvent the wheel?

I can solve allmost everything on my own. But if I have a new problem, I assume someone else already had - I would be stupid, to figure it out on my own, when I could get a working solution in 5 min googling.

But I actually programm without internet connection most of the time, as I like being outside, away from noise (and wifi)

Re:Drunk Post: Things I've Learned as a Sr Engineer by javagram on Sunday May 30, 2021 @07:53PM (#27338235)
The issue does arise when you aren’t able to understand the problem space enough to realize that what you copied from stack overflow has a mistake or doesn’t fit the requirement you need (e.g. perhaps it doesn’t match your error handling architecture or so on).

That said, stack overflow can be a great source and I’ve written plenty of code with a comment pointing to a SO link to further explain a pattern or snippet for a future reader.

Re:Drunk Post: Things I've Learned as a Sr Engineer by hutzlibu on Monday May 31, 2021 @02:28AM (#27340880)
"The issue does arise when you aren’t able to understand the problem space enough to realize that what you copied from stack overflow has a mistake or doesn’t fit the requirement you need "

Yeah sure. A stupid programmer will remain a stupid programmer, even if he reaches a certain productivity by living off of stackoverflow ...

Re:Drunk Post: Things I've Learned as a Sr Engineer by MikeDelta on Tuesday June 01, 2021 @06:58AM (#27352774)
There is nothing wrong with copy pasting code from stack overflow.

I do see two kind of people doing that. One group learns from the code in order to become better, and can use it over and over to be more efficient. The other group doesn't care how it works and just wants to have a snippet that works.

The second group usually misses a curiosity, of which the effects show up in many more places than just copy pasting from stack overflow. They also tend to have a flatter learning curve. I don't want to generalize, but in this group you will encounter people who don't care about the difference between a list and a set, or think that code works when it compiles. In both cases the juniors know very little, but one grows and the other one doesn't (or less)

There is space for both in the world, but I prefer the first group in my team.

Re:Drunk Post: Things I've Learned as a Sr Engineer by convolvatron on Sunday May 30, 2021 @05:45PM (#27337161)
i grew up a long time before stack overflow. actually used man pages and read books. there is just _no way_ to program in Rust or Go without access to a search engine and the package libraries.
Re:Drunk Post: Things I've Learned as a Sr Engineer by emidln on Sunday May 30, 2021 @06:18PM (#27337438)
I've done various rust and clojure projects by downloading a lot of git repos ahead of time for reference while on a long-haul flight. This works pretty well, but you need to do a bit of research ahead of time on which libraries you might want access to. This is probably slower, as you have to read source code and think more about the type signatures (rather than looking at some misc example), but if you have 15 hours, what else are you going to do?
Re:Drunk Post: Things I've Learned as a Sr Engineer by sethammons on Monday May 31, 2021 @10:34AM (#27344448)
You can spin up godoc locally and access it locally fyi. Wont help pull in a new package. And you can always drill down into the stdlib implementation right from your editor if you have jump to declaration. I wrote a custom consensus protocol implementation in Go on a flight for work sans wifi.