3 ms·
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 t
by Osiris 5y ago
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.
- morelisp 5y agoJunior 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.
- cakebrewery 5y agoOn the other hand, linear code is the easier to refactor compared to over engineered code