Principles for Good Code (2015)

# · ✸ 25 · 💬 2 · 2 years ago · www.dein.fr · rfreytag · 📷
Code is written primarily for human to read. Code also usually fixes problems that are coming from the physical world, and thus inherits some of its irrationality. What happens if we apply one of the most regarded designers' principles to code? Namely, how can Dieter Rams' ten principles for good design enable us to write better code? One good way to identify when code is impeding a product's understandability is to document it. If you find yourself having to give too much context about how code and reality differ, then it means code can be improved. Good code also makes efficient use of data structure and algorithm, and promote reusability. It just so happens that a lot of problems can be solved through code - but that does not mean that code solves everything. Because code is as much a literary experience as it is a rational undertaking, using principles coming from product design can be useful to think and talk about code.
Principles for Good Code (2015)



Send Feedback | WebAssembly Version (beta)