Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP vs .NET and To C# or VB
Message
From
16/05/2002 13:54:40
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00657468
Message ID:
00657641
Views:
44
>Hi Ken,
>
>I would like to point out in the beginning that my reasons in this message are not to advocate you to use C# or VB .NET. Some of the reasons you provided to pick C# vs VB .NET are incorrect. Here are my justifications:
>
>>1 - C# is cleaner - doesn't carry the legacy baggage that VB does - in fact some of the same things that make VB "more like VFP" encumber it.
>
>This is incorrect. VB .NET does not carry *any* baggage. In fact it adds new classes/methods/features to the .NET Framework by supporting a new *managed* library. (Microsoft.VisualBasic) I would also like to point out that this library is equally supported by C#.

Question - how much VB .Net has been compromised to accomodate legacy VB?


>>2 - My information is that C# runs about 10% faster in general (will actually ciomplile to MSIL more efficiently)
>
>This is false. Try this: Create a new class in C# which does something simple as open a file and converts it to string. Create the same thing in VB .NET. Look at the generated IL. It is EXACTLY the same.

Some things will change - I would argue that a simple program will not suffice for this test. Again - this is info I have and that makessense to me.


>>3 - .NET Framework is C#
>
>This is not a valid reason. VFP is developed using C++ so it does not mean that VFP developers should start using C++ instead of VFP. I know that ASP.NET is developed using C# but I won't to too sure about the .NET Framework. Parts of it we know that they are written in C# but chances for the core DLLS my guess would be managed C++ with MFC.

>>4 - since C# is very much like JAVA - we're learning two languages at once and will be prepared if the world turns upside down and the misguided open source freedom fighters take over the planet.
>
>I see this all the time that just because the synatx of C# is like java, or javascript, they will be learning more languages at the same time. People who have worked with java know that this is incorrect. Learning ways to declare variables, create conditional loops, call methods, and cast datatypes does not mean you learn a new language. The key to learning .NET is learning the the .NET Framework and not C# or VB .NET. If you want to learn a language focus on the .NET Framework or java class libraries.

No doubt the framework is key - but I'm a heck of a lot closer to Java in C# than fom VB

>>5 - And finally, if VB were the last language on earth, I'd give up software dev. and open a hot dog stand :-)
>
>:) Now this is a valid point because it is your preference. Personally, I think both of them are same.
>
>HTH
>Thanks,
>Kamal
Ken B. Matson
GCom2 Solutions
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform