John...
This is such a crystal clear point, I don't see why some folks don't get it.
In a C# windows app, if your form is named Form1, you cannot type form1 and have the intellisense work. Why? Because C# treats Form1 and form1 differently.
Alot of people, including myself, use mixed case for variables, object/class names, etc. The default properties (ActiveForm, etc) are all mixed case.
Why should I have to remember how the text is constructed? Isn't the only important element that I simply remember the name?
I suppose case sensitivity has a place in certain languages. As far as being in a 4GL that is geared toward RAD and developer productivity, if I were developing the spec for such a language, I would do either of the followings:
1. Eliminate case sensitivity entirely
or
2. Allow for the possibility of togglinh case sensitivity on and off
In days gone by, when you could edit programs in a simple text editor, I can see why having to terminate lines with a semi colon, using curly braces, etc. might have been a help. As for as being able to terminate code blocks, I see nothing wrong with Sub/End Sub..
Here is a good one... When you get a moment, check out the sample macros that ship with VS .NET. I thought for sure they would be written in C#. Nope... They are written in VB!!!!
Having a low-level language like C# is a good thing. If you need to drop down a level for a certain reason, it is good that a language, which is not that difficult to grasp, is available to you.
But, for the typical windows database app, VB will be work just fine and just as good as C#. And in return, your development efforts will be greatly enhanced because you won't have to deal with the BS idiosyncracies of C#.
Is VB technically better than C#. I don't think so. From an efficiency standpoint however, VB *is* better - hands down.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement