News for hackers. Stuff that matters.
Re:How to Become a Bad Developer by Osiris on Thursday June 17, 2021 @11:57AM (#27541043)
In my experience, a junior developer is one that 1. Thinks through problem very linearly, leading to very long and complicated functions. 2. Only thinks about the happy path. They don't validate inputs or analyze what could go wrong and handle those cases.

I can't tell you how many bugs I've fixed because programmers write code that only works if everything goes exactly the way they expect.

Re:How to Become a Bad Developer by morelisp on Thursday June 17, 2021 @12:51PM (#27541691)
Junior developers ignore the non-happy path and accidentally crash a lot.

Mid-level developers spend enormous effort modeling the error conditions and their programs never crash but are 10x longer and have lots of subtle bugs, especially edge cases of data corruption.

Senior developers ignore the non-happy path and ensure the program crashes a lot.

Re:How to Become a Bad Developer by cakebrewery on Thursday June 17, 2021 @02:01PM (#27542479)
On the other hand, linear code is the easier to refactor compared to over engineered code