The Elements of Programming Style [poll]
What maxims of coding style transcend narrow programming paradigms?
Join the DZone community and get the full member experience.
Join For FreeIn 1974 Brian Kernighan (yes, the Unix and The C Programming Language guy) and Bill Plauger (pair programming ground-breaker and another huge C and C++ wizard) wrote The Elements of Programming Style. The 56 maxims they proposed have influenced many programming books over the past four decades, but some of the issues treated are basically procedural -- many of which are still relevant, but some of which have been abstracted away by modern (predominantly object-oriented) paradigms.
Others have since written similar manuals (for C, 24 years old; for Java, 16 years old; for C#, 10 years old). But we'd like to build on the collective experience of the software development community to update K&P's classic structured programming principles for our multi-paradigm world.
So here's our poll for this week:
Based on your own experience, what do you think of each of these 'elements of programming style'?
(56 maxims is a lot, so just answer whichever you feel strongly on.)
Opinions expressed by DZone contributors are their own.
Comments