[Haskell-cafe] Re: Line noise
Achim Schneider
barsoap at web.de
Wed Sep 24 14:06:26 EDT 2008
"donn cave" <donn at avvanta.com> wrote:
> 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)
>
fy( a->fx( a, b ), c )? Typeclasses are something to advertise, and C++
didn't at all enrich C with OO. It polluted it with an extremely badly
designed macro system.
That is, I'd rather dig through ten layers of wizardly monad-
transforming abstraction than even consider to look at a thousand lines
of console buffer displaying the last ten percent of a type error
involving more < and > than you need in a lifetime.
--
(c) this sig last receiving data processing entity. Inspect headers
for copyright history. All rights reserved. Copying, hiring, renting,
performance and/or broadcasting of this signature prohibited.
More information about the Haskell-Cafe
mailing list