Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Visual Basic reference
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00951013
Message ID:
00952298
Vues:
10
>I just found an interesting quote in a coding guidelines documents:
>
>"Remove the Visual Basic reference from your project. Making use of the original Visual Basic functions has been proven to be up to 1000 times slower than the .NET counterparts; you have been warned."
>
>Do you agree with this quote?
>
>Do you have proof of that?

That's like saying that Fords are proven to be 1000 times slower than Hondas, there's no context. It could well be that there are methods in there that are 1000 times slower than their FCL counterparts but that doesn't mean you should throw the whole assembly away.

Personally I tend to use the FCL methods but that's because I code as much in C# as I do in VB so it comes more naturally. With that said there's nothing wrong with using the code in Microsoft.VisualBasic, and quite often the methods in there provide more functionality than what the framework has to offer or provide functionality that's missing from the framework altogether.

I hope this helps,
---
Rob Windsor [MVP-VB]
G6 Consulting
Toronto, Canada
http://www.msmvps.com/windsor
http://www.g6consulting.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform