Linked by vodoomoth on Fri 24th Sep 2010 22:56 UTC
Permalink for comment 442745
To read all comments associated with this story, please click here.
To read all comments associated with this story, please click here.
News
Linked by Thom Holwerda on 06/18/13 22:33 UTC
Linked by Anonymous on 06/18/13 22:26 UTC
Linked by Thom Holwerda on 06/18/13 22:25 UTC
Linked by Thom Holwerda on 06/18/13 17:45 UTC
Linked by Thom Holwerda on 06/18/13 17:32 UTC, submitted by poundsmack
Linked by Thom Holwerda on 06/17/13 17:58 UTC
Linked by Thom Holwerda on 06/17/13 17:52 UTC
Linked by Thom Holwerda on 06/14/13 21:03 UTC
Linked by Thom Holwerda on 06/14/13 20:46 UTC
Linked by Thom Holwerda on 06/14/13 17:32 UTC
More News »
Sponsored Links



Member since:
2006-02-06
No, I'm not saying it's based on Python. But in it's current incarnation (.Net 4). C# supports lambdas, dynamic variables, and even includes a SQL like DSL (LINQ). C# is an imperative language with declarative features. In that sense it is like Python. For instance, C#, Python and Ruby all allow you to do something like this:
var array1 = array1.Filter(x => x.Size > 20);
Doing that in Java/C++ would take about 5 lines of code to create a temporary array, filter the data, and then output the results, and it still wouldn't be clear what was happening. With C# the result is clean, elegant and only 1 line of code.