Go rant

dsimcha dsimcha at yahoo.com
Sat Dec 19 14:38:37 PST 2009


== Quote from Andrei Alexandrescu (SeeWebsiteForEmail at erdani.org)'s
> "This code is shown for its elegance rather than its efficiency. Using
> ++ in this way is not generally considered good programming practice."
> So if the code is inefficient and in poor programming practice, how in
> this blessed world could it count as elegant?

Because most functional programming purists (or, to avoid singling out functional
programming, purists of any single paradigm) are theory weenies.  These people
usually don't know an L2 cache from a floating point unit.  They wouldn't grok
things like implementation efficiency (as opposed to algorithmic/asymptotic
efficiency) or close to the metal concepts if they were hit smack in the head with
them.  Thus, they live in paradigm land and work with theoretical models instead
of real-world code.



More information about the Digitalmars-d mailing list