[Haskell-cafe] Line noise

donn cave donn at avvanta.com
Mon Sep 22 01:05:24 EDT 2008


Quoth Andrew Coppin <andrewcoppin at btinternet.com>:
...
| As one experienced C++ programmer put it, "there is no clear flow from 
| left to right or right to left". Personally I found that a little ironic 
| comming from the language that gave us
|
|   while (*x++ = *y++) { }
|
| which is every bit as non-linear! ;-)

Well, to be precise, C++ got that from C.  What C++ adds to it:

   fy(a.fx(b), c)  (in Haskell,  fy (fx a b) c)

I wouldn't worry too much about one letter identifiers and so forth.
Many programmers will secretly be rather attracted to this kind of thing.

	Donn Cave, donn at avvanta.com


More information about the Haskell-Cafe mailing list