Alex Clark
3/8/2008 8:23:00 PM
> I believe most people have actually said it's a personal preference,
Well, depending on how you interpret it, many have stated that their
personal preference is for the "less ambiguous, more precise" nature of C#'s
parenthesising, almost as though it's impossible to determine what a piece
of code is doing when the () suffix to a method call is optional.
>> C# is not a naturally readable language the way VB.NET is, so explicit &
>> strict syntax is a necessity. VB.NET tends to be more concerned with
>> describing what the code itself is doing rather than over-zealous
>> punctuation.
>
> ... it seems to me that *you're* claiming C# is wrong to behave the way
> it does.
Not at all, but if you code one routine in both C# and VB.NET and hand them
over to someone who's never really coded before, I would wager they're a lot
more likely to understand what the VB.NET code is doing than the C# code ---
precisely because VB.NET is, by its very nature, a much more naturally
readable language than C#. This doesn't make it better or worse than C#,
but it does mean that its focus is not on ensuring every semi-colon is
perfectly placed but rather on keeping the syntax closer to something a mere
mortal can understand, rather than just coders. :-)