
27 Nov
2007
27 Nov
'07
4:40 p.m.
On Tue, 27 Nov 2007, apfelmus wrote:
More specifically, "fact" means something that you can easily check yourself. "Robust"/"maintainable"/"testable" code are things you _can't_ easily check yourself without already learning the language.
+1
But "shorter code" is a fact you can easily check, for instance with quicksort as example. In fact, "short code" is the reason why I picked up Haskell. Back then, I was given the task to calculate some sequence of numbers which I did in one page of C code. So far so good, but when I asked the task assigner about his solution, he responded: "Ah, this problem, that's 1 line in Haskell. Well, 2 lines if the terminal is too small."
Ah, a Haskell code contribution to the Encyclopedia of Integer Sequences?