• 0 Posts
  • 106 Comments
Joined 10 months ago
cake
Cake day: January 15th, 2024

help-circle














  • Sorry, I still don’t really get the hate.

    Most of the good points are common sense.

    I use what I learned from watching a talk by him on clean code and I had to learn some stuff. It might be “common sense” for experienced developers. But it certainly doesn’t come naturally that “functions should do one thing” to first time coders. The thought processes of when the software was developed usually isn’t the best way the code should be structured in the end. But that’s usually how beginners code.

    It’s mostly based on what he feels is good.

    In most diciplines, experience in the field is what makes the knowledge of the field. You don’t always have to be able to explain why good practice does what it does.

    Also: I know of some examples, where he clearly explains his reasoning, e.g. why comments shouldn’t explain how the code works. (Because they’re not going to be updated, when the code will be)

    As a programmer, I want all relevant logic of a method to be neatly collected in one place - not scattered around deeply nested method calls.

    Either you misrepresent him, or you get a hard nope from me. Staying on one layer of abstraction is most likely my most important principle of writing understandable and maintainable code.