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

5

u/[deleted] Feb 22 '15

What about it? Seems like a nice language.

1

u/oneUnit Feb 22 '15

I've heard that it's a much better "version" of java. I was wondering if /u/karlhungus has experience with c#.

12

u/[deleted] Feb 22 '15

Ah it wasn't clear from your comment.

To me, C# seems like a nice and simple language. Like Java, its optimal use story involves the use of an IDE. I would really like to try it out but unfortunately, the best C# IDE (Visual Studio) is Windows-only, while the best Java IDE (IntelliJ IDEA) is available on all major platforms.

3

u/giuseppemag Feb 22 '15

Xamarin studio works fairly well in Linux and Mac.

9

u/UglyBitchHighAsFuck Feb 22 '15

But still sucks compared to Visual Studio.

-1

u/wllmsaccnt Feb 22 '15

Mono develop is ok.

7

u/EntroperZero Feb 22 '15

As someone working on a cross-platform C# project, it very, very isn't.

1

u/wllmsaccnt Feb 22 '15

I said it was OK, not that it was a good VS replacement. I, too, love VS + resharper.

1

u/aradil Feb 22 '15

I never had any serious problems using it. I'd argue that it's leaps and bounds more usable than Eclipse is for Java.

3

u/EntroperZero Feb 22 '15

The gulf to VS + Resharper is massive.

2

u/aradil Feb 22 '15

Resharper has some wicked features but there's actually quite a bit of overlap with what can already be done in VS.

-2

u/btchombre Feb 22 '15

C# is a fantastic language. It's significantly less verbose than Java and has had years of development and features added to it while Java has been stagnant over the years. Scala is a pretty good Java replacement language, apart from the idiotic variable name, colon, variable type syntax.

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.