r/programming • • Feb 22 '15

Java Makes Programmers Want To Do Absolutely Anything Else With Their Time

http://www.forbes.com/sites/quora/2015/02/21/java-makes-programmers-want-to-do-absolutely-anything-else-with-their-time/
35 Upvotes

636 comments sorted by

View all comments

Show parent comments

7

u/tetroxid Feb 22 '15

5

u/drysart Feb 22 '15

It took them nearly a decade to figure out how to do half as many useful improvements to the language as it took the C# team half the time to do. (Not to mention that they completely screwed some of them up in the process, like implicit typing.)

'Stagnant' might not be the right word, but 'lethargic' certainly is. Developing in Java after you've used C# is like stepping into the Delorean and setting the time circuits to 1885.

2

u/tetroxid Feb 22 '15

You are right. You see, Java was first, and C# was Microsoft's answer to it (it appeared five years later). They were able to thoroughly analyse it and learn from its mistakes. I would be surprised if it weren't better.

And while I loved Sun Microsystems as a company, they indeed were slow to improve Java. While I hate Oracle as a company, they picked up an impressive pace developing and improving Sun's technologies (like Java and Solaris).

C# has one big problem: It is Windows only. That rules it out for us, our suppliers and our customers because almost none of our or our customer's servers run Windows. I personally don't really like Java (I mean: SimpleBeanFactoryAwareAspectInstanceFactoryCreatorInterfaceSingleton, what the fucking fuck) but nonetheless, it is king of its domain.

2

u/[deleted] Feb 22 '15

Anyone remembers Visual J++?

1

u/gschizas Feb 22 '15

Considering the pace of other languages (C# in particular), it's effectively stagnant. Lambda expressions exist in C# for about 7 years now (if I'm not mistaken). Not to mention LINQ (again, C# 3.0, 2007), or any of the large major new features of it (still talking about C# 3.0, which was released about 7 years ago): http://en.wikipedia.org/wiki/C_Sharp_3.0

2

u/tetroxid Feb 22 '15

I agree, feature adoption could've been faster. But slowness and stagnation are very different. An actual almost-stagnant language would be ANSI-C.

2

u/joequin Feb 22 '15

And lambdas were implemented in LISP over 40 years before c#. Clearly c# is stagnated.

1

u/gschizas Feb 22 '15

The point isn't that C# has lambdas. The point is that C# added lambdas, and it's adding stuff each version, every 2-3 years.

1

u/joequin Feb 22 '15

So is Java

2

u/gschizas Feb 22 '15

The amount of stuff Java adds every version wouldn't even amount to one bullet point for what C# adds.