Lurker News

Comments (453) 190 threads

Earlier comments
dub2 replies#
I advise junior developers that there are primarily two difference between a junior and senior developer:

1) A senior developer is unafraid of not knowing things. When we join a new team or company, we're as lost as any junior developer joining them team. We ask as many questions as necessary to get our work done effectively, without shame or fear of looking foolish for not knowing things already. We are good at searching through unfamiliar codebases to figure out how they work.
2) A senior developer (or any productive person) is good at saying no. People will ask for more of your time than you can spare. You can gently but firmly say no, direct people elsewhere (delegate), or ask people to discuss with your manager whether more of your time can be allocated to help them.

donatj1 reply#
I would argue willingness to say no is what separates junior from senior.

In my experience it actually leads to Juniors being abused a lot of times being given dumb projects someone should have said no to. Then code review rolls around and the seniors are like “what is this” and there’s a dumb fight. Lol. Maybe that’s just the places I’ve worked.

jcalabro#
I don't think you're the only one who has experienced this; we hired a couple of new grad programmers recently and they've really been put through the ringer. Not necessarily on dumb projects, but projects that one might categorize as urgent but not important.
gonehome#
Your first point is something I've seen a lot of and experienced myself too when I was new. I think it can be a big psychological barrier to learning more and generally being happier/more confident.

I wrote up something about it a while back: http://zalberico.com/essay/2017/02/21/asking-questions.html

TheAceOfHearts2 replies#
Try to sleep 8 to 9 hours every day. In this JRE podcast [0], Matthew Walker, a sleep expert, claimed that sleeping poorly can decrease your performance by 30%.

Strive to maintain a good work-life balance. Burnout sucks. Your health and family are more important than work. A workplace that doesn't consider this to be the case is likely to be toxic.
As for actual software development advice... Beware blanket statements. They can help you develop a low-resolution model so you don't suffer from paralysis, but real-world problems tend to be complex and messy.
Here's an example: if you were building a traditional web app, many software engineers would probably suggest using something like PostgreSQL. That doesn't mean other database technologies don't have their place. However, PostgreSQL is able to adequately serve a large category of problems with relative ease, so it often makes for a sensible starting point. Once you become more familiarized with that domain you'll develop a higher-resolution model and you can begin to evaluate other technologies more effectively. Much of software engineering is about figuring out what tradeoffs to make.
Another example in traditional web apps is using cookies for auth. Using cookies for this purpose is well documented and pretty much supported everywhere. There's plenty of known problems with using cookies for this purpose, but the alternatives also have their own set of issues to deal with.
My final example: testing. Testing your code is great and it can be very useful, especially when refactoring or developing new features. But going for 100% code coverage is usually more trouble than it's worth. It's also very easy to end up writing a bunch of useless tests. You want to focus on the actual problem and not waste anyone's time.
[0] https://www.youtube.com/watch?v=pwaWilO_Pig

Flow#
> Strive to maintain a good work-life balance. Burnout sucks. Your health and family are more important than work. A workplace that doesn't consider this to be the case is likely to be toxic.

Good advice.
It's likely burnout will really change you for the rest of your life if you don't react early enough.
It's a bit sad when you realize you'll never again be that guy you grew up and identifies as. But you also have to realize that was a person with habits that wasn't sustainable and now you have to live with that.

audiosyncrasy#
I'm currently in the process of changing careers into software development. I have a family of 5, a full-time non-tech job, and I just landed my first part-time coding job.

I definitely don't want to burnout, but I also know that I will need to work very hard for a short period of time until I can exit my current full time job and secure a full time software development position.
Do you have any advice on how to strike a balance between working very hard and knowing when you're burning out?

Flow1 reply#
Realize almost everyone suffers from Impostor Syndrome from time to time.

Read a lot of code, not just code in the projects you work on, but reference/framework source code, open source. Perhaps even ask a subreddit for the language/tool about good examples to learn from.
Realize that data is more important that code for the most part. So treat data like it's precious. That's one part of why I feel relation databases are better than document/object stores. I suppose this is up for debate.
Learn to say No. It's mutual respect to say No so the one asking has a chance to ask someone else. If you instead say Yes to too much and can't deliver too close to their deadline you might screw up other people's time plans.
Outside work: Avoid eating junk food more than 1-2 times per week. Keep your weight. Go to the gym or run. Take the bike or walk to work. Sleep at least 6+ hours a day. Limit work to 40 hours/week. It's better to do 40 fresh hours than 50+ zombie hours.

mvcatsifma#
"Realize that data is more important that code for the most part. So treat data like it's precious." This is excellent advice.
brogrammernot1 reply#
Ignore the bullshit.

Languages are tools, and you are a craftsman (or woman). In the same vein, a carpenter doesn’t scoff at using a wide variety of tools and of course has favorites but doesn’t get caught up in them.
Frameworks will come and go, understand how they work under the hood. Understand how Node works, aka V8 engine + C++. Understand why React is so popular but also understand it’ll pass in time as well.
Most of all, just find what you enjoy in programming. If you don’t like architecture that’s totally cool. If you love writing middle tier software, that’s cool. If you like being full stack, totally fine. There’s plenty of jobs in each area so spend time finding what you like.

vorpalhex#
And understanding how different technologies work will help you build expertise in future ones more easily. Technologies are not usually born out of thin air, they inherit approaches from earlier ones.

Load more comments