News for hackers. Stuff that matters.
Re:Athletes/musicians pursue fundamentals more rigorously th... by maximus-decimus on Monday September 02, 2024 @05:34PM (#41428976)
You didn't even include "solve the customer's problem" or "has features people care about" or portability. Electron apps are not taking over the world because "execution performance time" is the one true metric by which all code should be judged.
Re:Athletes/musicians pursue fundamentals more rigorously th... by Kinrany on Monday September 02, 2024 @06:24PM (#41429277)
The first two are product quality, not code quality
Re:Athletes/musicians pursue fundamentals more rigorously th... by mtlguitarist on Wednesday September 04, 2024 @06:01AM (#41443826)
Yes, but presumably we all work at businesses that are trying to make money. Code quality and product quality are inextricably linked in the business world.
Re:Athletes/musicians pursue fundamentals more rigorously th... by Kinrany on Thursday September 05, 2024 @07:36AM (#41455597)
This is not true in practice because the consequences of bad code show up months and years later and in a way that makes it impossible to attribute to any one business decision.
Re:Athletes/musicians pursue fundamentals more rigorously th... by mtlguitarist on Thursday September 05, 2024 @08:27AM (#41455954)
This is totally fair and I agree with that. What I was trying to say and didn't express particularly eloquently is that you need to consider both "abstract" measures of code quality (performance, test coverage, complexity, rate of regressions/defects, etc.) and specific product metrics. You can deliver "high quality code" that checks off all the abstract metrics, but if it doesn't actually solve your business problem then you've basically just succumbed to Goodhart's Law.
Re:Athletes/musicians pursue fundamentals more rigorously th... by Kinrany on Thursday September 05, 2024 @06:51PM (#41461066)
Agree. Except, to be very pedantic, with this?

> then you've basically just succumbed to Goodhart's Law

We're talking about adding more metrics that should be considered, and treating or not treating them as the ultimate goal is orthogonal to choosing the set of metrics! Product metrics don't save from goodharting