Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

The Elements of Programming Style [poll]

DZone's Guide to

The Elements of Programming Style [poll]

What maxims of coding style transcend narrow programming paradigms?

· Java Zone
Free Resource

Managing a MongoDB deployment? Take a load off and live migrate to MongoDB Atlas, the official automated service, with little to no downtime.

In 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.)

 

MongoDB Atlas is the easiest way to run the fastest-growing database for modern applications — no installation, setup, or configuration required. Easily live migrate an existing workload or start with 512MB of storage for free.

Topics:
java ,c ,structured programming ,programming style ,poll

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}