News for hackers. Stuff that matters.
Re:Heuristics for Effective Software Development: A continuo... by Gupie on Monday July 26, 2021 @11:10AM (#27960363)
Not false.

Sure there are exceptions to most rules, but break them only if you know what you are doing and are able to justify doing so.

Re:Heuristics for Effective Software Development: A continuo... by cheradenine_uk on Monday July 26, 2021 @11:29AM (#27960653)
I often think there's an equal and opposite other side to that: Don't /make/ any rules unless you know what you are doing and able to justify them (and their scope of effectiveness).

I've recently had to work on a project controlled by someone who's swallowed "clean code" and a couple of C# style guides and now just unthinkingly applies what he thinks he's read. E.g: you are not allowed any comments in this codebase. No variable may be typed. Period.

Both extremes are.. not good.

Re:Heuristics for Effective Software Development: A continuo... by gmfawcett on Monday July 26, 2021 @03:34PM (#27964271)
> there are exceptions to most rules, but break them only if you know what you are doing and are able to justify doing so.

Isn't this exactly the kind of vague advice that GP was talking about?

Re:Heuristics for Effective Software Development: A continuo... by Gupie on Tuesday July 27, 2021 @04:54AM (#27970178)
Perhaps, or perhaps it is a meta-rule, i.e. a rule about rules. Either way it is just obvious common sense IMO.