Live data from Hacker News

Ask HN: What is your best advice for a junior software developer?

news.ycombinator.com

251–260 of 460 posts

Re: Ask HN: What is your best advice for a junior software developer?

#251
post #76

do not burnout I know you are young and you feel like you're invincible. I know you can pull an all-nighter and work the next day just fine. We have all been in that situation and believe me, it is gonna take a toll at your performance ... and it could even trigger or help you develop some health issues in your life that can sabotage you down the line. Realize there's only so much progress one can do in the day. Stop…

[deleted]

Re: Ask HN: What is your best advice for a junior software developer?

#253
post #76

do not burnout I know you are young and you feel like you're invincible. I know you can pull an all-nighter and work the next day just fine. We have all been in that situation and believe me, it is gonna take a toll at your performance ... and it could even trigger or help you develop some health issues in your life that can sabotage you down the line. Realize there's only so much progress one can do in the day. Stop…

Aren't young people allowed to, well, be young though? When you don't go to nightclubs, don't have friends to call at 1am and can't play guitar in your 400sqft apartment with neighbors on all sides of the world's thinnest walls, is it a terrible thing if coding all day and all night on relatively minor problems to make somebody else five figures a week is your primary source of excitement? Does it not beat alcohol an…

When I was in my early twenties, hungry and looking to prove myself, it was fun for me to stay up all night programming, put in wild hours to get stuff done, lose myself in overly ambitious projects etc. At some point I realized I kept hitting a wall (which was just actually me burning out, but I didn't recognize it at the time) and finding it basically impossible to care or get even the simplest things done for weeks at a time.

My overall productivity was extremely bursty then–herculean efforts followed by barely anything at all. Now, years later, I'm much more defensive of my time, it's far easier to maintain a consistent flow of good work, and I no longer wake up in the middle of the night having had a bad dream about my code crashing.

Re: Ask HN: What is your best advice for a junior software developer?

#256
Learn how the debugger works for whatever language you use. You will be very tempted to just use logs as it's way easier and debuggers seem intimidating, but take a day out of your schedule to learn the debugger. When you really have no clue what's going on in your code there's no substitute for being able to stop your program mid run and inspect it's state interactively.

Re: Ask HN: What is your best advice for a junior software developer?

#257
I'm still a junior dev, but the difference between my successful and unsuccessful peers are their tenacity and curiosity. Don't be afraid to ask questions, put in the work to try the debugging yourself, stick with the problems you encounter. But ask tones of questions, as there are often more experienced devs who'd love to help!

Re: Ask HN: What is your best advice for a junior software developer?

#258
post #160

Read the error messages. Reread them. Extract every piece of information from them. Never close an error popup without having read and understood what it means. Always read stack traces when you're blessed enough to have them. 100% of the juniors (and an awful lot of seniors) I've ever trained simply ignore those and then come ask for help debugging. 99% of the time, the explanation for their problem is literally the…

100% agree. Likewise, I think adopting a "how can I create a stack trace/error message" mindset is incredibly important. Can you add a breakpoint to a certain piece of code? Could you add a try/catch statement somewhere to catch the error? Far too often good engineers do not have an "active" mindset in hunting for stack traces/error messages, instead, they wait for them to fall like manna from heaven.

Raise your hand if you've ever created an insert/update database trigger that explodes when that it sees that one bad value you've been investigating, just so you'll have a traceback that points to the offending code.

(Hopefully only in your development environment.)

Re: Ask HN: What is your best advice for a junior software developer?

#259
post #49

On the slightly more negative side: everything management tells you that's not in an email will have "never happened" when it's convenient. When you have a conversation with anyone where you think a plan was verbally agreed on, before doing anything your first action is to go back to your desk, write it in an email, send it to them as confirmation and find at least 1 other person, ideally in your reporting line, whic…

Documenting what you have been told verbally is not a negative act. People forget what they have said all the time!

Generating a followup email is stating your understanding and interpretation of a verbal conversation. Verbal communication is full of intricacies. Especially when communicating things like priorities.

Why did you spend so much time on that feature and not this one I think is more important?

Why did't you tell me that "minor" feature A was going to mean that this more important feature B IMO was not going to get done in time?

Post reply on HN