Re:There’s No Such Thing as Clean Code
by hogrider on Saturday January 29, 2022 @06:43AM
(#30125584)
In most situations, no you can not trust fellow devs to do the right thing and if you push for those reviews then you're the asshole and lose the office politics game. So yeah, I'd rather guardrail people into good behavior.
Re:There’s No Such Thing as Clean Code
by lifeisstillgood on Sunday January 30, 2022 @05:14AM
(#30135566)
Can I clarify? You get a review that just looks wrong and you become the asshole? What kind of reviews are these ?
Re:There’s No Such Thing as Clean Code
by lifeisstillgood on Sunday January 30, 2022 @12:30PM
(#30139094)
please ignore the above. I am sure reviews can become political arenas
But there are reasons and rationales to "lockdown" the code (beyond not trusting fellow devs!) and at that point I suggest that any mutable state language cannot be properly locked down - so use a functional language where its easier to reason about.
Usually (IMO) private classes etc are just trying to make it easier to reason about state changes - when its probably best to dump the whole mess.