Herfried K. Wagner said:
Hello,
No. VB.NET is _not_ an OO language. VB.NET _supports_ OOP as a _tool_.
You can still write applications in VB.NET without using OOP (module, 'Sub
Main', ...). C# _is_ a programming language limited to OOP only.
Uh, yes VB.NET is absolutely an OO language. You can certainly write code
that bypasses classes, but that is not one of the criteria for an OO
language.
No. The old functions _are_ methods. 'Right', for example, is a method of
the 'Strings' class.
Correct. and Right(string) is the old VB 6.0 function that string.Right()
replaces. Right(string) is the "old" function I am refering to. If you
were to use Right(string), all that would happen is a call to the string's
..right() method (which is an extra processing step) - why have your code
take an unecessary step?
No. They are main part of the Visual Basic .NET programming language.
No, the methods that have replaced the functions are a main part of VB.NET.
The functions are a "crutch". I believe they are provided in the
VBCompatibilty assembly. They are for migration of code/developers.
If
you don't use them, you may want to turn to C#. I don't know any C#
programmer who won't use certain features of his language only because they
don't fit in a certain programming paradigm.
VB.NET is a programming language for developing VB.NET solutions.
The Framework is good, but VB.NET provides _more_.
I think you've got that one backwards. All the language does (any language)
is provide access to the .NET Framework. The engine behind any .NET
application is the framework, not the language. Sure the language can make
using the Framework eaiser or more efficient and the language is not to be
discounted. But the Framework is where it all happens. That's why all .NET
languages compile to IL first and native code second. The CLR, Garbage
Collection, Security, ADO.NET, WinForms, ASP.NET, Base Class libraries,
etc., etc. are all part of the Framework, not the language.