>
>My 3 C# pet peeves:
>
>1. Case sensitivity
>2. Curly braces
>3. Semi Colon Line Termination
>
Get used to this kinda stuff,
I have had to do JAVA at uni, which has all those 3.
Its fine if you are sitting in one language, the problem comes when swapping between them.
After a while you do #1 whatever you are coding in, and it ust becomes a non-issue.
#2 is just a part of the Syntax you have to learn to live with, though it can improve code readability I find, just a few extra chars, so I dont mind personally.
#3 is by-far the most annoying, but again only because of changing languages.
I think I prefer having ; as line termination, then as line continuation (as seen in Fox) I just wish they could all be the same though, nothign worse then having code that breaks simpyl because you put a piece of the syntax in another language.
Ill add to your list my other 'peeve'
&& = in-line comment in VFP
&& = AND in Java (and hence I presume C#)
there has been a few times when I have written
IF x && y
in FoxPro, and its taken a while to figure out why it isnt working.
I do a fair bit of developemnt still in FPW2.6 and hence no code coloring.
Ohwell, all part of the fun isnt it :)
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