3 ms·
Only C# could make something so elegant look and work so ugly.
by chrisjsmith 16y ago
Only C# could make something so elegant look and work so ugly.
- hvs 16y agoOnly C#? Sir, you obviously haven't spent any time with C++.
- chrisjsmith 16y agoI have - I've managed to blocked that part of my memory for the last 12 years!
- T-zex 16y agoCould you, please, provide a more elegant example in other statically typed language.
- xyzzyz 16y agohttp://www.haskell.org/pipermail/haskell/2006-September/018497.html http://www.haskell.org/pipermail/haskell/2006-September/0184...
- chwahoo 16y agoOCaml: http://rosettacode.org/wiki/Y_combinator#OCaml http://rosettacode.org/wiki/Y_combinator#OCaml
- chrisjsmith 16y agoMy point entirely!
- MichaelGG 16y agoComing from not-overly-sunny MSR Cambridge, but now sorta in the same division as the C# team, F#: let rec y f x = f (y f) x As a general note, C# tends to get very verbose very quickly if you choose to take up too much of a functional style with it.