"From where I sit, Ruby has the language thought leadership position and
is the competitor I hope AndersH is losing the most sleep over nowadays"
Don Box -
Gosling on RubyThis month's DDJ issue shares the similar thought in its article "
Ruby On Rails" subtitled "It makes development fast, agile manageable"
I'm not sure if I'm eligible to do a comparative analysis b/w C# 3.0 and Ruby but with LINQ, DLINQ and XLINQ in prospect, I'd certainly admire the advent provided in this version of C#. Being able to do this is awesome and it's just scratching the surface.
public void Linq1() {
int[] numbers = { 5, 4, 1, 3, 9, 8, 6, 7, 2, 0 };
var lowNums =
from n in numbers
where n < 5
select n;
Console.WriteLine("Numbers < 5:");
foreach (var x in lowNums) {
Console.WriteLine(x);
}
}
Result
Numbers < 5:
4
1
3
2
0
Microsoft Visual Studio Code Name “Orcas” - LINQ CTP (May 2006)The LINQ ProjectLINQ on Channel9C# 3.0 Language Specification