“I made this program longer than usual because I lack the time to make it shorter.” – paraphrasing Blaise Pascal
The Elements of Pragmatic Programming Style is the collection of rules for pragmatic programmers. This collection doesn’t pretend to be comprehensive guide how to program. Rather it concentrates on fundamentals: how any programmer can build better software for the customer. Some of the rules are obvious, but, surprisingly, many programmers don’t even think about them. They make same mistakes over and over again. I hope this post will inject a healthy dose of pragmatism into your programming style and make it a bit better .
- Intention - understand your task and how to get it done
- Approach - basic principles of writing code
- Composition - organization of code
- Expression - expressing ideas in code
- Object Oriented Pragmatic Style
The goals of Pragmatic Programming Style are
- Building reliable software fast.
- Delivering maximum value for the customer.
- Writing code that is easy to understand, change and share.
“Everyone hears only what he understands.” – Johann Wolfgang von Goethe
Understand your task and how to get it done