Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
More OOP w/o Microsot.VisualBasic?
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00656734
Message ID:
00656760
Views:
10
Good example,

another is:

Instead of using chr(34) in an expression:
Dim qt as Byte = 34
and then use qt
I wonder if not using the Microsoft.VisualBasic namespace reduces size of dlls?

>>
>>If one wants to be more OOP oriented and disciplined, should one endeavor to find methods of the classes in the framework that are being used rather than use a function or statement from the language?
>
>I think so,
>It creates (in my eyes) more consistent and readable code to put (for example)
>
>Convert.toInt32("100")
>
>then
>
>CInt("100")
>
>
>But in the end, the compiler is going to make both calls exactly the same, so it is a personal preference and style thing.
Previous
Reply
Map
View

Click here to load this message in the networking platform