www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Re: Signed word lengths and indexes

reply bearophile <bearophileHUGS lycos.com> writes:
Justin Johansson:
 To my interpretation this means that at sometimes trying to be clever is 
 actually stupid.

A great programmer writes code as simple as possible (but not simpler). Code that doesn't need comments to be understood is often better than code that needs comments to be understood. Bye, bearophile
Jun 15 2010
parent Walter Bright <newshound1 digitalmars.com> writes:
bearophile wrote:
 Justin Johansson:
 To my interpretation this means that at sometimes trying to be clever is 
 actually stupid.

A great programmer writes code as simple as possible (but not simpler).

I've never met a single programmer or engineer who didn't believe and recite that platitude, and this includes every programmer and engineer who would find very complicated ways to do simple things. I've also never met a programming language advocate that didn't believe their language fulfilled that maxim. To me, it just goes to show that anyone can create a complex solution, but it takes a genius to produce a simple one.
Jun 15 2010