News for hackers. Stuff that matters.
Re:The 80/24 Rule by skohan on Friday November 15, 2019 @03:31AM (#21543248)
Re:The 80/24 Rule by jdc on Friday November 15, 2019 @04:09AM (#21543431)
But only because if you're writing imperative code and doing lots of mutation "you should be made constantly aware of the full horror of what you are doing."
Re:The 80/24 Rule by z3t4 on Friday November 15, 2019 @08:16AM (#21544484)
Also when applying the mantra "Dont repeat yourself" (DRY) it can have the opposit effect; that when you are optimizing a hot loop, like a game render loop you inline everything and discover there are repetitions that can be vectorized or removed/optimized. Maybe because you applied DRY and abstracted too early or what not.
Re:The 80/24 Rule by chrisweekly on Friday November 15, 2019 @08:35AM (#21544609)
Yeah... DRY is probably the most over-used principle (likely bc it's so easy to identify). I like "AHA" (Avoid Hasty Abstractions) as a counter-balance.
Re:The 80/24 Rule by hinkley on Friday November 15, 2019 @09:50AM (#21545227)
DAMP (descriptive and meaningful prose) is especially useful for maintaining tests. Which is where they bulk of the time investment comes.

Literally any testing strategy can be forced to work for about 18 months. Anyone working with shorter lifetimes than that is inexperienced.

Re:The 80/24 Rule by lubonay on Friday November 15, 2019 @05:20AM (#21543750)
I love that quote, and that article as a whole!