Java - C# <== Copy ?

Arch4ngel

Well-known member
Joined
Mar 22, 2004
Messages
940
Location
Montreal, QC
I learned C# at school and the only language that I knew was Delphi and VB6 so I didnt notice many thing... but I was currently looking at Java from Sun and... damn... is it me or it is nearly identical ?

Does Microsoft has copied everything from them ?
It dont make me laught at all when I see people copying work of other... but... those two language are nearly BOTH IDENTIC !

Comment will be welcome and really appreciated.
 
Probobly has to do with the lawsuit Sun (Javas creators) filed against Microsoft a few years back because they were taking Java in a direction that Sun didnt want. I wonder what happened to that Java work? Probobly became C#.

Anyways, C# is designed to be java friendly. Its supposed to be fairly comfortable for both C++ and Java people to cross over with.

Now, I dont know what role J# plays in this if C# is so close to java...
 
Before C# even existed, I know that Java and C++ had extremely similar syntax. Im not sure exactly what the connection is, but Java, Javascript, C, and C++ are somehow related.

Im sure that C# is just based off of C++. So, I dont think that its the case that Microsoft is copying Sun. Theyre just modifying and improving on a language that is already very similar to Java.

Anyone know more about this?
 
After a quick Google, it appears that both Microsoft and Sun "stole" from This Guy. Both Java and C# are based on C++ as attempts to improve on the language. Thats why theyre all so similar.
 
Denaes said:
Probobly has to do with the lawsuit Sun (Javas creators) filed against Microsoft a few years back because they were taking Java in a direction that Sun didnt want. I wonder what happened to that Java work? Probobly became C#.

Anyways, C# is designed to be java friendly. Its supposed to be fairly comfortable for both C++ and Java people to cross over with.

Now, I dont know what role J# plays in this if C# is so close to java...

J# is the one Java tool that MS has provided for the .NET environment. It is meant more than anything to provide a bridge to those who were using the MS J++ language (their version of Java) a way to get into the .NET arena.

Both Java and C# improve upon the C++ language by taking away the hassles of keeping up with such things as pointers, which if you did not do properly in C++ then your program spang memory leaks and became one of those applications that would eventually bogg a machine down and force a re-boot if you ran it long enough.

I never worked with C++, just did limited work with C some years ago. If any of you have dabbled in these languages then you can appreciate the improvements Java and C# offer by having string classes rather than having to define arrays of characters to handle strings.

While in syntax Java and C# might be similiar, the emphasis on .NET is somewhat different. MS is providing the ability for any language that is CLI compliant to be able to run code alongside code written in other CLI compliant languages. I dont really know how big of a sales point this will be to people, but I do take heart somewhat in knowing that I as a developer can create libraries using C# and they can be used by coders who prefer to work in VB.NET. This allows me to focus on what I want to use, what I like to use, and it still be useable by those who prefer a different language.

Hope this helps out.
 
All modern programming languages borrow from each other. Its impossible to do otherwise - good techniques and best practices extend beyond the syntax of the language youre using to whatever OO framework you use with it. Similarities are inevitable.
 
Well... seen like this...

Well... similarities shall not make ourself angry... they smooth the learning curves :p

Thank you divil for this little comment.
 
Java by Sun is awesome or at least was a few years back because it was so univeral on systems ranging from PCs to hand held devices. VB.net at least as far as I know isnt portable to hand helds yet. and when i say hand helds i mean not only pdas but like instruments that Pespi, Frito-lay use for routes etc.. this kind of equip java is awesome at. Cheaper also :D
 
Back
Top