Winsmarts.com

Microsoft MVP

MVP Logo

Awarded the Microsoft MVP Award.

Hosted By

blah!bLaH!BLOG!!

A different point of view.

Posted on 5/12/2007 @ 6:30 PM in #Vanilla .NET | 6 comments | 4159 views

I've met both the author (Mads T), and Luca in person. This post is not an impersonal, anonymous attack.

I am writing about this post. Luca, and the few commentors thought this was a brilliant post. Nobody actually left any hardcore suggestions or comments - most just glazed at the sheer brilliance of the author's gray matter. A bit like watching fireworks.

My different point of view is,

It's a shame that the language is getting so complex. This is the same mistake C++ made 7 years ago, and why .NET was so successful. It's a shame that we are seeing the same mistake being made all over again.

So please make the language simpler, and once you have made the language simpler, apply the same to -

  • MS Licensing
  • Vista editions and Vista security
  • Windows Mobile and it's constant freezing. iPhone will probably fix that.
  • DRM technologies, music store choices in WM player
  • The framework itself (how many ways for two programs to talk to each other?)
  • VSTS <-- does anyone actually use that?
  • "How to connect to a database" - ADO.NET/Entity Framework/Linq2myAss/Jasper/Astoria/whatever else/?
  • .. basically every MSFT product, including MSN messenger.

How about, "Don't underestimate the power of simplicity".

I know this isn't gonna happen, but what's the harm in asking? ;-)


On 5/12/2007 9:02:39 PM Fabrice said ..
I haven't read the post. My only thought when I saw it was "Is it an old post from April 1?".
I ran away from the blog when I saw it's not the case. The post starts with something like "it is fun". All I know is that C# and .NET won't be fun anymore when I'll have to read this kind of code...

On 5/12/2007 9:37:35 PM Sahil Malik said ..
Fabrice - LOL, I didn't understand what you're sayin' man! :)

On 5/13/2007 8:08:00 PM Derek said ..
I totally agree. The beauty of .NET is in the powerful simplicity, and the fact that new and old programmers can (could) get stuck in straight away. Now with the increased complexity and many many syntax options that do the same thing, it just makes maintaining someone else's code a real headache sometimes. Simple is always best in the long run. The focus should be on good database design; good, readable coding standards and principles; and less on clever syntax that causes the next guy to waste time trying to figure out what the hell is going on in the code.

On 5/15/2007 7:18:43 AM Julian Birch said ..
Actually, the contents of the post are pretty well known results in lambda calculus, such as gets covered in your average CompSci lecture. It's also something that you're unlikely to worry about unless you're a math geek. But I don't think C# is at fault here. What we have here is a complex solution to a simple non-problem static int fac(int x) {
return x == 0 ? 1 : x * fac(x-1);
} Actually does the job perfectly well (well, barring the fact that it's not tail-recursive). A much more serious criticism of the fixed point solution is that it involves a recursive creation of delegates, which does not strike me as a good use of anyone's time. So cute, but stuff like that should stick to functional programming languages.

On 5/23/2007 10:48:22 AM Dennis van der Stelt said ..
Sahil, about Windows Mobile, go get WM6. It rules my world! More stable than... than... Well, it's just stable! ;)

On 5/23/2007 11:48:33 AM Sahil Malik said ..
Haven't tried WM6. I'm with Verizon, and they are the last ones to ever upgrade the OS or provide cool new phones. But well their coverage is the best, so .. big loss there :). I'll change my phone in about a year or so, around then I'll decide between WM6 vs. iPhone.

Please post your comments:


Your feedback will be submitted for moderation, and will appear after it is approved.

Name:  
Email (optional): Your email address will not be posted.
URL (optional):
Comments: HTML will be ignored, URLs will be converted to hyperlinks  
Enter the text you see in the box:
 

Site designed and maintained by Sahil Malik | All Rights Reserved. ©2007 WinSmarts.com.