Dynamic Languages: A Separation of Concerns
Posted by: Marquee de Sells: Chriss insight outlet,
on 08 Jul 2009 |
View original | Bookmarked: 0 time(s)
I saw Nick Muhonen give a talk on the new language features in C# 4.0 last night at the Portland-Area .NET User Group. He did a good job in spite of the constant questions I asked. He showed one example that I found especially compelling:object GetConfig() { return new { WindowSize = new Size() { Width = 100, Height = 200 }, ConnectionString = "...", ... };}
Of course, you wouldn't hard code settings in your application -- you'd load...