>> Hi !
>> I've looked at VB.NET and C#. C# seems be far more elegant, but VB.NET syntax
>> is more similar to VFP syntax (IMO). Can you tell me why do you think so ?
>
>VB Syntax is more verbouse. There are lots of commands to learn. C# on the other hand has few commands and does almost everything with objects.
>
>Also, once you get past the {, } and ; the C# syntax isn't all that different from VFP. Things are named "this.something", and so forth.
>
>It's not entirely logical, I guess. It would seem that VB.NET should be more fox-like. But I find C# much easier. Most things simply work the way I would expect them to work. This is not always the case in VB.NET...
>
Markus,
I agree with you, but not your reasons. For you, the reason that the (IMO) more elegant C# is more attractive to you than VB.Net is stated well in your tag line:
Visual FoxPro: Because life is too short to code in C++...You've already spent the time and learned enough to know that life
is to sort to code in C++ - you've already learned C++, so the language makes sense to you. I think many VFP developers are afraid to learn C# because C++ is...hard?
I think the VFP community should focus on C# as well rather than VB.Net, but for different reasons. Being syntactically different than VFP at a fundamental level, there is less for them to unlearn; if they know VB, they don't have to "unlearn" habits acquired previously in VB, and they'll make fewer assumptions about behavior because of perceived or imagined similarities between VFP syntax and C#.
To a degree, it's parallel to reinstalling Windows over your existing platform in the hopes that a little freshening will clean things up, vs FDISK, FORMAT and install fresh. You have a better chance making a fresh start of ending up with a good, solid foundation if you start from the beginning and build a fresh base than if you try to keep what you have now going, and try to jury rig things to keep it going, on the argument that you don't have a half-day to spend reinstalling Office, VFP, etc.
Ed
(spending the afternoon reinstalling XP from scratch)