If you thought the speed of writing code was your problem - you have bigger problems
(debuggingleadership.com)
from codeinabox@programming.dev to programming@programming.dev on 05 Apr 09:13
https://programming.dev/post/48319444
from codeinabox@programming.dev to programming@programming.dev on 05 Apr 09:13
https://programming.dev/post/48319444
cross-posted from: lemmy.bestiver.se/post/1030154
#programming
threaded - newest
What’s in this article is true, but to be honest I’ve never seen anyone using lines of code as an optimization metric. Even among the most AI enthusiastic people. I mean: the author of the article seem to be fighting non-existing problem.
Prime example: microslop
It’s all I see slop enthusiasts go off of
I’ve found the biggest bottleneck is bugs. If you catch a bug during development, it takes the least time to fix.
Catch a bug during PR, you need to fix the code, and the PR needs to happen again.
Catch a bug in QA, and you need to fix the code, do another PR, and get it tested again.
This pattern goes right through UAT, and god help you when a bug makes it to Prod.
There is nothing more time consuming than code that was written quickly.
Or by word processors.
All code is written quickly these days, and not by humans. The patterns to guard against bugs also help speed development, and are the same we already learned.
Strong typing and test driven development.