X# to Xen to C Omega
The ever-changing future programming language from Microsoft has yet another name, C Omega. You might have seen it as X#, or Xen in the past. C Omega’s research will introduce the notion of data access natively into the OO programming model. If you are tired of the hassle of using APIs to access XML and traditional DBMSs, and have wondered why a language doesn’t have the notion of XML and SQL ready in its core, C Omega could be worth watching out for.
It’s been hidden away, brought back to life, and had name changes galore, but C Omega could looks like it is paving the way for C# without XML or SQL classes, but with built-in functionality to handle data access.
For example, taken from the research paper, this is how we could, in future, handle our XML:
public class card {
sequence{
string name;
string title;
string email;
string? phone;
logo? logo;
};
}
public class logo {
attribute string url;
}
public class Test {
static void Main() {
card c =
c.*.{ Console.WriteLine(it); };
}
}
Its fascinating research, and could possibly revolutionise the way we all write applications in the future. But do you think this the future, or is this just unnecessary complication? Add a comment :)