"Worse is better"
I'm thinking the haskell team has done something wonderful: repeating the scheme for taking the world previously done by the Worse is Better camp: making a computer virus, let it spread, then making it better.
First, they infiltrated microsoft. They made C# (the virus), which is a slighty better java. Now, with c#3, it's clear that all those haskell guys at microsoft succeded in adding functional programming to the virus.
All those who work programming in C#, rejoice.
Name:
Anonymous2007-06-14 1:18 ID:AgSUZCjE
You may be right. The work originating from Cambridge seems to be one of the very few things Microsoft has got right in the past few years.
Name:
Anonymous2007-06-14 2:53 ID:QY9SWZ82
LAZY LAMBDA LAZY LAMBDA LAZY LAMBDA
Name:
Anonymous2007-06-14 4:14 ID:zkDXCwz6
>>1
Functional programming? In THEIR C#? Explain, now.
Name:
Anonymous2007-06-14 12:44 ID:rkxj/GpN
>>4
you have lambda expressions. Not fugly delegates, lambda expressions. And type inference, cause it makes it easy to type. Add a lot of HOF, anonymous types, a CL loop like syntax, and voila! you've got Visual Basic 9
Name:
Anonymous2007-06-14 13:11 ID:zkDXCwz6
>>5
Interesting. How about these features? (I don't expect to have all of them, just checking out.)
- Static nested scopes (closures)
- Tail call optimization
- Lazy evaluation
- Conditional expression ( ? : , if-else, cond, whatever as long as it's lazily evaluated and an expression)
- Loop expressions (I suppose what you mentioned is an expression)
- Builtin lists and/or dictionaries with proper syntax to support them
Name:
Anonymous2007-06-14 14:41 ID:ZgXRW4mk
Static nested scopes (closures)
You've mentioned that in another thread. WTF would you want static scoping. Lexical scoping is what you need for decent closures.
Name:
Anonymous2007-06-14 18:50 ID:I5pTbNO+
it has closures. in fact I think c# delegates have closures, but they're very annoying to use.
Tail call optimization? I don't think so. I'm not sure anyway.
Lazy Evaluation? Same as common lisp!
conditional expresion? I don't understand what you mean, but c# already has ? :
It doesn't have builtin lists/dictionaries. What it has is better ways to extract the information from collections, which are objects and always will be.
read this paper called "confessions of an used programming language salesman", subtitled "getting the masses hooked on haskell". it starts talking about haskell, how it wasn't popular, and the haskell stuff that ended up in the new visual basic and c#
this pretty much sums up the paper:
"Apparently, I lack any salesmanship skills, so to save the common programmer I decided to sell my soul to the most popular programming paradigm, objects, and to the company that has the biggest market share, Microsoft."
Name:
Anonymous2009-01-14 14:31
SAGESAGESAGE
Name:
Trollbot90002009-07-01 9:39
Originating from Cambridge seems to be one of the very bare least As much as can be done on a terminal absolute?