Re:Why Learning Haskell/Python Makes You a Worse Programmer
by brentb on Tuesday December 23, 2008 @01:50PM
(#407931)
I hate to nitpick, but this isn't comparable to the author's code. You're including empty descriptions and your output string will begin with a newline. These seem like small details, but they make a big difference in the conciseness with which you can write the statement.
[ Parent
| on HN ]
Re:Why Learning Haskell/Python Makes You a Worse Programmer
by chwolfe on Tuesday December 23, 2008 @01:53PM
(#407938)
This is very true. I was not attempting to port the author's code to .NET 3.5 as much as to introduce C# lambda expression syntax to the readers here.
Re:Why Learning Haskell/Python Makes You a Worse Programmer
by brentb on Tuesday December 23, 2008 @02:01PM
(#407942)
Yeah, I figured. I just didn't want others coming away with the impression that C# is more concise than Haskell or Python. I mean, I love lambdas as much as the next C# programmer, but there is still a fair bit of clunky syntax to deal with when using C#'s great new features.