[Haskell-beginners] Important coding guideline and library proposal

Daniel Fischer daniel.is.fischer at web.de
Sun Nov 22 14:15:24 EST 2009


Guideline:

NEVER, *never ever*, use 'length' ***unless you really want to know the exact length of a 
list***

Proposal:
rename 'length' to 'yesIReallyWantToKnowTheExactLengthOfThisListSoPleaseCalculateItForMe'
to reduce performance bugs caused by naive uses of length.


More information about the Beginners mailing list