Ok… as many of my fellow developers do, I try to stay neutral when it comes to discussing which of these two languages are better than the other. Until I read this article here. I honestly think this guy either has no idea the fundamentals of good programming or just maybe bumped his head or something while writing this article. Even the comments that defend him are ridiculous. Let me break a few of his comparisons and let you be the judge.
This I thought was by far the funniest one. How does one say “C# is bad because it’s case sensitive”? That’s like saying “C# is bad because it conforms to language standards and good programming practice!”. I mean seriously, If I were to have the ability to make 5 variables in the same scope ‘x’ (which this gentlemen most likely has done), how on earth would I know what references what in 6-12 months? Not to mention the fact that the Intellisense in Visual studio is so good now that you are just getting a tad over lazy. I know we as developers by definition are lazy, but seriously?
This one was just comical. Lets call all the symbols that are used in every other C based language and call them stupid. To me that makes you stupid. Standards are what makes the IT world go round, so to say that VB standing by itself spelling out the word ‘and’ instead of ‘&&’ does not qualify as an advantage to me. Apparently this guy has never had to switch between languages before. I have had to switch between C#, C++ and PHP before all in a matter of months before. Now, although that is probably not the norm, do you know how comforting it was to know that a great deal of the syntax was the same?
That wretched semi colon
Not even sure I have to defend this one, but I will briefly. The semi colon has been around for ever and is ANY respectable language. No I don’t consider Ruby on Rails respectable regardless of it’s popularity. The reason for the semi colon is to tell the compiler that you are done with your statement. Over time, it has also has become a point of reference for the developer to see where things stop too. With all the longer statements and parameters in methods, how easy is it to determine the end of the statement when the developer that wrote the code developed on a 24 inch screen and you look at it now with a 19 inch laptop? Now everything wraps and makes you want to cry. I know I would.
All in all I think C# is superior, but that’s my personal preference. I can see where some people just learned on basic, that’s what they know and feel comfortable. I get it. But please, in the future, come up with better reasons than these if you want to attach C#. These are just silly.