1 Aug 2007 16:19
Good Haskell Style
Ian Lynagh <igloo <at> earth.li>
2007-08-01 14:19:59 GMT
2007-08-01 14:19:59 GMT
Hi all,
I've been sitting on this for four months for various reasons, but Neil
and Duncan keep prodding me to send it, so here it is.
The numbers in the mail are probably out of date by now, due to the
start of the base splitup and general development, but I'm too lazy to
update them.
Thanks
Ian
------------------
Hi all,
My last attempt to write a contentious mail was a miserable failure, so
I'm giving it another go.
I've written up my description and rationale for what makes good Haskell
style. The full thing is at
http://urchin.earth.li/~ian/style/haskell.html
but I'll copy the conclusion here:
* Don't leave trailing white space in your code
* Don't use tabs
* Aim to keep lines under 80 characters
* Use the CamelCase variable naming convention
* Don't use explicit braces and semicolons
(Continue reading)
RSS Feed