On Wednesday, 26 December 2012 at 16:01:27 UTC, Andrei
Alexandrescu wrote:
On 12/26/12 9:11 AM, renoX wrote:
On Tuesday, 25 December 2012 at 19:37:42 UTC, Walter Bright
wrote:
I've often heard that claim, but here's an article with what
the
substance is:
http://dubhrosa.blogspot.co.uk/2012/12/lessons-learning-haskell.html?m=1
Note that D offers this style of programming, with checkable
purity,
immutability and ranges. I think it is a very important
paradigm.
Bleah, one good practice that I like to follow is to
(optionaly) log
what my functions do, so it doesn't match well with "IO change
the type
of your function"..
debug statements to the rescue!
Andrei
Yes of course, but what I was objecting is the article's take
that IO should change the type of the function: that's an
oversimplification..
This is not true for debug/logging statements.
renoX