Ask HN: What is your best advice for a junior software developer?
441–450 of 460 posts
Re: Ask HN: What is your best advice for a junior software developer?
#442Read 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…
I work in QA and I wish more developers thought this way. Also run your code before hand off. Please. If I had a nickel for every time I got a user story or bug to validate and it immediately crashes then I would have a bunch of nickels. Which wouldn't be super helpful, but still. Please at least run your code, or ideally you should have CI/CD with unit tests, but we all know that isn't always the case especially in…
There was just no way to win. I'm glad I don't work in that environment anymore.
Re: Ask HN: What is your best advice for a junior software developer?
#443Re: Ask HN: What is your best advice for a junior software developer?
#444Earlier quoted context omitted.
I eschewed QBasic early on because it wasn't "real" or it was derived from Basic. This was a mistake. I spent a long time trying to become good at C++. This was also a mistake. I ignored Python for a good 2 years because of indentation. Again, a huge mistake. Great suggestion on anger inducing articles/comment sections. I was just thinking it would be nice to do sentiment analysis and incorporate the emotional vector…
I'm curious - could you elaborate on your mistake regarding spending too much time on C++?
Since it has affordances for speed, it encourages one to make fast code, but this is rarely needed. Making fast code is a trap.
Trying to become good or very good at something also puts you in direct competition with others doing the same thing. I did not have time to compete, so it wasn't a big differentiator for me.
C++ helped me learn when do give up, and when to refocus my attention in areas where I can have greater impact. I wish I was a little more technically and philosophically mature before I undertook C++. Having concrete goals is a huge clarifier and allows one to judge something with a much better light.
Re: Ask HN: What is your best advice for a junior software developer?
#445Earlier quoted context omitted.
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 week…
I know that taking a vacation is important too, but it's hard to take enough time off when you only get 10 days' a year. And I have a crap immune system so I end up using half of that to cover for when I run out of sick days every winter. (At my last job they started "hemorrhaging" developers because a local startup put out a standing offer to higher people for 20% less pay, but 20 days starting vacation. So many people took them up on it that our branch office dwindled from 12 to 2-3 people and retention of new hires went to the basement as well. The impression we got from management was they'd let the company burn to the ground before making "more vacation" a negotiable, probably because they had a vesting scheme and existing senior employees had worked there 10+ years to earn comparable amounts.) At my now-job I have the option to work 9 hour days and get a day off every other week, which helps make my "real" vacation hours stretch longer but the downside is that 9 hour days are not easy, either.
Re: Ask HN: What is your best advice for a junior software developer?
#446Most importantly, junior software engineers and interns often complain that the work they do is not impactful - it may seem that those around you are doing impactful work (and it might actually be true in a very few cases), but don't let this effect your peace of mind and not let you give your best. Every work you do must show a characteristic of your quality. Engineers must be able to provide anything in their field, at all levels of their stack, regardless of how important they feel their work might be. Always respect your work and be grateful for getting an opportunity for working on it because someone did not get that chance.
Re: Ask HN: What is your best advice for a junior software developer?
#447Earlier quoted context omitted.
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…
I believe that most of us that 'made it' (past the kickstart/young-ish phase) have experienced burnout at some point, and we know how much it can delay us from making progress... That's why I think we should at least try to warn our younger friends that all that eagerness to 'make it there' might actually hurt them in the process. Consistency is key and will take you far, because you'll keep on delivering. Your boss…
Re: Ask HN: What is your best advice for a junior software developer?
#448Read 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…
I really like your last point "whatever the computer is telling is true from the computer point of view". In a surprising number of coding interviews that I've conducted, I've seen a candidate write an incorrect solution that generates an exception and then attempt to figure out the error almost on first principles, rather than actually reading the exception carefully and thinking about what coding errors could have…
Re: Ask HN: What is your best advice for a junior software developer?
#449Don't agree to work for peanuts. Young developers are easy target for "startup" or predatory corporations as they can do mindless coding for hours and if you throw in free pizza on Fridays, they'll work day and night for almost nothing. Once you get burnt out you get replaced with another young wannabe developer. But you'll have damaged health and no savings. If offer is low and you think you'll get experience - you…
Nonstarter, obviously no one wants to work for peanuts, and it's easy for people with established careers to give that advice but not very useful for most younger people with little resources
Re: Ask HN: What is your best advice for a junior software developer?
#450Avoid what is known as 'Somebody Else's Problem Field' behavior. (Here is the link: https://en.wikipedia.org/wiki/Somebody_else%27s_problem)
What I mean to say is, a lot of times developers have an attitude which says "I'm done with my work, now if its not working, it's somebody else's task" or variants of that dialogue. As a developer, I understand and concur with your position that you might have done all the things right, but as a team, you are not helping matters by saying that. Volunteer to check your code, do more, and try to figure out where the problem is, like what input you are getting, what is the output, where is the code failing. the more you help in these cases, the faster the things get done.
This is also a common behavior, when someone asks you for a data or a piece of code, and you send her a straight forward export/import in the raw format. Occasionally, that might need the other person to do a lot of clean up and other operations, (with a bit less context), and would have been easy for you to do in the first place. As a developer I did that a lot. On the receiving end, this is one of the most frustrating things, since I need to account for it in my tasks beforehand. (Example would be a simple dataset, given to me at SKU level - cos requires a straightforward query - while if extracted aggregated, would have taken 5-10 more minutes for the developer, but now the asker is expected to spend sometime cleaning up and aggregating that data set. Might not always be this, but I hope you get the point.).
my 2 cents.