Clean Code?
“clean code” is a phase most programmers go through. Like adolescence, with it’s desire to find The One True Way. But after that most of us discover that the principles are pointless in and by itself and that it’s often preferable to ship “working software” instead. - Clean code is a phase
Code is run more than read / HN
- Code is read more than written
maintainer > author
- Code is used more than read
user > maintainer > author => user > dev
- Code is run more than read
user > ops > dev
- Also, there’s business
biz > user > ops > dev
- Smells
- Unmaintainable code
author > maintainer
- Unusable software
- ` dev > user`
- Works on my machine
dev > ops
- The right thing
dev > biz- Code considered as an end in itself. Software built by pretentious artisans, musicians of the Titanic, and Lisp Hackers.
- Resume-driven development
dev > *
- Imaginary software
biz > user > ops > dev
- Late capitalism
biz > user > ops > dev
- Unmaintainable code
- An elephant
biz > useruser > ops > devbiz > ops > devbiz ≹ user
see also
- “Clean” Code, Horrible Performance / blog - polymorphisme and avoiding internal knowledge whipeout twelve years of hardware improvement.
- Horrible Code, Clean Performance / HN
- Bad scientific code beats code following “best practices”
Written on January 31, 2022, Last update on January 6, 2024
code
software
fastware