Spring AOP using AspectJ 5 Alt+Enter: The IntelliJ IDEA Saviour
Jan 25

Cω (Comega) Programming Introduction

Tech Add comments

Dare has published a nice introduction to the Microsoft language Cω.

The most interesting parts of Cω are the extensions which give you native XML support, and SQL builtins.

One really interesting thing to see was:

public void PrintTrilogyTitles(){

LoTR().{Console.WriteLine(it)};
}

This looks really Groovy too (blockish, ‘it’, etc… kinda like LoTR().each { }).

It is also interesting to see SQL as a first class citizen:

rows = select ContactName, Phone from DB.Customers;

foreach( row in rows ) {
Console.WriteLine("{0}", row.ContactName);
}

It will be very interesting to see how much of this gets put into C# 3.0, since Anders has expressed interest in these issues in the past. Maybe Java 6 will have some of it too? :)

Comments are closed.