Live data from Hacker News

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

news.ycombinator.com

231–240 of 460 posts

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

#231
post #199

Always test your code.

Don't always test your code. Always test code that needs testing (i.e production code) but never cargo cult.

It's just fine to bang out scripts or hobby projects you can see work easily enough without formal tests. In the real world not everything is tested (although probably more stuff should be than is).

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

#232
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…

Related: Read the official documentation. I can’t count how many times junior folks have asked me things like, does FooBarFactory constructor take an array of ints or floats? Well, what does their documentation say? Sometimes the official documentation is crap and that’s a reasonable question, but usually the answers can be found in TFM.

I noticed a similar trend in JS dev: asking/looking for (video) tutorials instead of reading the official doc. Even when the doc is good and quick too read (React, Redux, Vue, etc).

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

#233
post #58

Find a mentor. I was lucky enough to have a couple more experienced developers take me under their wing when I was new. I learned so much from them. This idea of mentorship has fallen out of favour, but I now understand "there is nothing new under the sun".

How does one actually do this? I have a hard enough time finding close friends of any kind. And mentorship is a pretty big thing to ask of someone.

Some companies have internal mentoring schemes - perhaps more likely the larger the company.

Professional institutions typically do too.

Either option takes the burden off asking someone, since you're merely applying to a pool of people that have declared a priori their willingness to be a mentor!

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

#235
Never Ever Stop From Learning. The skills that you have now may be top notch and covering all of today's trendiest technologies; but in possibly less than 5years, most of these will be outdated, and your expertise obsolete. Specialize yourself, but do it everyday, on everything - try new technologies, feel free not to adopt them in your daily job, but try them. Keep in mind that every year, new guys come out fresh from school and will be as in sync with the technology landscape of that time as you are now - and you do not want to lose to them because you never took 1 hour to try the then-Docker - you want to be able to criticize the then-Docker because _you_ will be able to compare it to the past things that you will have already encountered, enjoyed or suffered from.

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

#236
post #58

Find a mentor. I was lucky enough to have a couple more experienced developers take me under their wing when I was new. I learned so much from them. This idea of mentorship has fallen out of favour, but I now understand "there is nothing new under the sun".

How does one actually do this? I have a hard enough time finding close friends of any kind. And mentorship is a pretty big thing to ask of someone.

Luck is a major factor.

Some things that might help:

- ask lots of questions, listen, and take notes - be humble and gracious when you receive feedback. Most people avoid mentorship because its really hard to deliver negative feedback delicately. Easy to avoid it altogether. Ask for feedback actively, and start with: "what can I do better here?" or even better, before starting "how would YOU attack this problem?" - scout the organizations you want to work for ahead of time. Creep linkedin profiles, etc. Do you have similar interests to the senior devs (which will allow you to connect on personal level)?

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

#237
I would share the following principles to apply to your career (from my martial arts studies):

Be Honest.

Be Humble.

Respect self and others.

Practice diligently.

Seek perfection of character.

And would also share the following quote from Hiroshi Saito (CEO of Chateraise) which I came across later in life and thought it helps to change your perspective:

Everything outside of me has something to teach me.

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

#238
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…

Eventually you'll learn what errors can be ignored, what are useless information, and which ones are sending you down a path that will waste time. But only start skipping and skimming once you've learned what to look for, and always be prepared to toss out the old knowledge when working on a new system.

Also, when you have far too many logs, reading in reverse chronological order works most of the time, but not all the time. Generally the last error you are looking at is the error you want to find and fix, but always consider that sometimes an earlier error that seems unrelated can be the reason a later error is even possible.

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

#239

Robots are coming and so is automation. Programming opportunity will only exist in custom projects but most companies want to use COTS solutions to not beholden to contractors in the long run. This change is starting to emerge and the programming opportunities for the future will start to erode.

Lol, who do you think is writing the COTS software in the first place if not programmers? All signs are pointing to opportunities for developers increasing, not decreasing.

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

#240

Never Ever Stop From Learning. The skills that you have now may be top notch and covering all of today's trendiest technologies; but in possibly less than 5years, most of these will be outdated, and your expertise obsolete. Specialize yourself, but do it everyday, on everything - try new technologies, feel free not to adopt them in your daily job, but try them. Keep in mind that every year, new guys come out fresh fr…

To go along with this: if you don't leave your comfort zone regularly, you're not learning and you're falling behind.
Post reply on HN