Write code that is easy to delete, not easy to... — programming is terrible
“Every line of code is written without reason, maintained out of weakness, and deleted by chance” Jean-Paul Sartre’s Programming in ANSI C. Every line of code written comes at a price: maintenance. To...
"Every line of code is written without reason, maintained out of weakness, and deleted by chance" Jean-Paul Sartre's Programming in ANSI C. Every line of code written comes at a price: maintenance. To avoid paying for a lot of code, we build reusable software. The problem with code re-use is that it gets in the way of changing your mind later on. The more consumers of an API you have, the more code you must rewrite to introduce changes. Similarly, the more you rely on an third-party api, the more you suffer when it changes. Managing how the code fits together, or which parts depend on others,
saved by
related reading
- Write code that is easy to delete, not easy to... — programming is terribleprogrammingisterrible.com
- Repeat yourself, do more than one thing, and... — programming is terribleprogrammingisterrible.com
- Essays on programming I think about a lot | benkuhn.netbenkuhn.net
- The Grug Brained Developergrugbrain.dev
- Cognitive load is what mattersminds.md
- Things You Should Never Do, Part I – Joel on Softwarejoelonsoftware.com
- Everything I know about good API designseangoedecke.com
- notes/books/pragmatic-programmer.md at master · pkardas/notes · GitHubgithub.com
- How to write complex softwaregrantslatton.com
- Things I believe · GitHubgist.github.com
- We are destroying software - <antirez>antirez.com
- Mistakes engineers make in large established codebasesseangoedecke.com