C
Cowboy \(Gregory A. Beamer\)
Marc said:I don't agree. It's mostly different syntax words for the same. So if you
want to understand syntax, and OOP for example, study OOP in a language
you already know is better then learning different syntax details of
another language. You could better study how compilers work, how OOP
works, independant of the exact language. If you understand that, it's
relative less difficult to work in another language.
You are working with an ideal that is not always present in the world.
Perhaps more now as newer VB devs are coming into the world with no previous
legacy VB experience. But, I found that many, if not most, VBers in the
early .NET days were legacy VBers that switched to .NET. I found tons of
ASP.NET, written like ASP. Things like:
myObject = Object.CreateInstance("")
Yuck. The same was true for the VB syntax. Legacy VB in a .NET app.
I was an ASP/VB COM developer. I switched to C# to make sure I was learning
..NET and not merely trying to code VB into VB.NET. I think this is what
Göran is aiming at. And, if so, I agree with him.
Underneath the hood, it is all IL. And, if someone is truly following OO
practices and using the framework, there are tons of similarities and one
can easily switch, for the most part, from language to language.
But the fact that they compile to the same byte code (have the smae lower
level language) does not mean the higher level language is the same.