Re: eerie Java-BASIC (partially OT)
BGB wrote:
Arne Vajh??j wrote:
If you with VB means VB.NET then you are absolutely correct.
VB.NET is C# with VB syntax and C# is close to a superset of Java.
generally, yes.
but, a person could try to argue that they are "totally different", say
because of using "namespace" and "using" rather than "package" and "import",
and ":" in class definitions instead of "extends" and "implements", ...
however, these are likely minor differences (many are primarily cosmetic, and
some others could conceivably be made to work on the JVM as well).
"namespace" and "using" are significantly different from 'package' and
'import' in semantics.
And the .NET library is also rather close to the Java library.
Anders Hejlsberg worked on MS Java before he started working
on .NET and C#.
yeah, pretty much.
there is a lot of overlap, although to me it looks like in some cases things
were simplified and merged vs Java, for example, in Java there are a lot of
classes for file IO with only minor variations, whereas in .NET a smaller
number of classes fill a similar role.
..Net emanated from J++ back when.
J++ got Microsoft slapped in court for violating Java trademark rules.
They rebranded it and changed certain things, improving them with some of the
non-compliant enhancements they'd given J++, and more.
So the lineage is direct.
there are also many cases where the classes have the same names, and many
methods with the same names and arguments (although using FirstLetterCaps
rather than camelCase, ...).
That is still camel case.
but, there are many differences as well.
"If I have seen farther than other men, it is because I have stood on the
shoulders of giants."
- Sir Isaac Newton
--
Lew
Honi soit qui mal y pense.
http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg