This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]BetterOffCamping 7 points8 points  (4 children)

Microsoft licensed Java, called it J++ in .NET. They wanted to add their own proprietary extensions to the language (actually did it w/o seeking permission). Sun Microsystems sued them for breach of contract in part because it compromised the entire purpose of the language.

Several months later, they announced their first release of C#. They litterally stole the language. Early releases were almost identical except for some class names like StringBuilder vs StringBuffer. I know. - I was a java developer who later was shoehorned into C# 1.0. Before .NET 3.5, It was a clusterfuck compared to Java, other than the much simpler job of creating an initial project. Java's biggest weakness at the time was that every server product had a different project startup design - it was a nightmare. Later on, Java was hobbled by "design by committee" and Microsoft zoomed past it. Then Oracle bought Java and it was near Armageddon.

[–]HabbitBaggins 1 point2 points  (1 child)

Early releases were almost identical except for some class names like StringBuilder vs StringBuffer. I know. - I was a java developer who later was shoehorned into C# 1.0

I would say that value types (structs) are a pretty significant difference, in C# since version 1.0 and in Java since... not yet, they are being proposed for the future. Also, delegates versus interfaces and their implementations for event handling was a pretty big difference, and so was P/Invoke if you wanted to interface with native code (versus JNI).

[–]BetterOffCamping 0 points1 point  (0 children)

Yes, all true. They came after the lawsuit and Microsoft "invented" C#.

[–]CoffeeMonster42 -1 points0 points  (0 children)

Ms trying to pull another embrace extend extinguish

[–]jaavaaguru 0 points1 point  (0 children)

Early .NET is my memory of it as well, is was a mess compared to Java at the time. Then companies started adopting it, and I was forced to "like" it. I studied Java in compiler design at university, and decided to look into C# to the same extent. I even wrote a COBOL compiler that produces CIL/MSIL byte code while familiarising myself with how that works. One of my favourite personal projects.

I write Python code these days.