C++ vs Lisp

Walter Bright newshound1 at digitalmars.com
Sat May 17 13:51:03 PDT 2008


Robert Fraser wrote:
> Concise does not always mean readable, and reducing lines of code should 
> *never* be a design goal. For example, if I removed many temporary 
> variables and used long expressions (as is the style in many functional 
> languages), I could probably chop off 1/5-1/4 of the LOC of my program, 
> but debugging/fixing it would get much harder. Additionally, redundancy 
> (as stated in the ";" topic) is not necessarily a bad thing as it helps 
> reinforce meaning to readers.

There's good redundancy, and there's bad redundancy:

http://reddit.com/info/6ip9w/comments/

http://dobbscodetalk.com/index.php?option=com_myblog&show=Redundancy-in-Programming-Languages.html&Itemid=29



More information about the Digitalmars-d mailing list