this post was submitted on 09 Aug 2024
611 points (98.1% liked)

Programmer Humor

32480 readers
325 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

Those who know, know.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] sus@programming.dev 40 points 3 months ago* (last edited 3 months ago) (1 children)

Rules of thumb can be very useful for a relatively inexperienced programmer, and once you understand why they exist you can choose to ignore them when they would get in the way. Clean Code is totally unhinged though

[โ€“] doktormerlin@feddit.org 13 points 3 months ago

The problem is that a lot of people don't understand when to ignore the rules and just stick with them forever.

We had a developer once that always said KISS KISS KISS whenever we pointed out that her functions are working but not reusable, so she wrote 20 functions that all did the same thing, but with slightly different parameters. And that's just one of the examples