r/ProgrammerHumor • • May 25 '21

Not_a_Meme.jif

/img/o4w97sa7iidz.jpg

[removed] — view removed post

13k Upvotes

416 comments sorted by

View all comments

Show parent comment

285

u/Sn0H0ar May 25 '21

C# to Java? Oh no.

95

u/11b403a7 May 25 '21

Yep

46

u/wrexinite May 25 '21

Omfg poison

51

u/skeleton-is-alive May 25 '21

Java isn’t much worse honestly. It’s quite good if you’re using Spring

59

u/11b403a7 May 25 '21

I mean java 8 is far worse than .Net 5 with c# 8

17

u/skeleton-is-alive May 25 '21

Idk, there’s a few language conveniences but each have their own benefits and they’re pretty much the same language. Java becomes more interesting with all the meta programming from annotations.

41

u/11b403a7 May 25 '21

No. C# annotations are far better and way more powerful. At least compared between java 8 and c#8

Edit: I do agree that they are different tools for different people. Everyone is able and 100% in their right to like their own thing

-3

u/skeleton-is-alive May 25 '21

I disagree, Java’s reflection has always been more powerful from my experience with both languages.

6

u/AngryRotarian85 May 26 '21

But no runtime generics! Other than that, I prefer Java and Kotlin. What a terrible decision.

→ More replies (3)
→ More replies (3)
→ More replies (2)

14

u/Hemmels May 25 '21

Yeah, no Spring. Now can I panic?

14

u/Lenny4500 May 25 '21

Tbf, i've mostly worked with Java for the past 5 years, i'm loving it and I hate spring

Ok I kinda lied, I go to kotlin whenever I'm able to

→ More replies (3)

13

u/lead999x May 26 '21

I don't use either but I would take C# over Java any day.

6

u/crozone May 26 '21

Modern Java isn't much worse if you haven't used C# in about 10 years.

4

u/StoneOfTriumph May 26 '21

Spring has become too fat

I'm loving Micronaut and Microprofile with Quarkus... But still waiting for clients/work experience where this could be possible... They all want "spring boot".

There's obviously ways to keep Spring minimal, but yeah... It has adapters to talk to anything so it grew a lot of functionalities.

5

u/skeleton-is-alive May 26 '21

Eh. It’s Java, I like having one framework that does everything. It’s really suitable to the enterprise ecosystem.

3

u/StoneOfTriumph May 26 '21

oh I know, the spring market is bigger than JEE/JakartaEE where I'm at, very popular frameworks whether you're in finance, insurance, media... Spring offers many fundamental capabilities that one may need.

Thankfully things such as GraalVM and good practices around package management can help create smaller artifacts that also boot up faster!

3

u/TheStatusPoe May 26 '21

Our senior engineer is actively trying to move us away from spring, and any sort of dependency injection framework...

2

u/skeleton-is-alive May 26 '21

You may as well just not use Java

3

u/TheStatusPoe May 26 '21

We've argued for moving to kotlin or other languages multiple times. Can never get enough support on the team because there's not "enough support for languages that aren't java" company wide. Pretty sure every senior engineer has advocated for basically rolling our own for at least one widely accepted/in use tech because of "performance" or "maintainability" concerns.

3

u/skeleton-is-alive May 26 '21

Nothing more maintainable than an in-house framework /s

That senior engineer needs to get their head straight

→ More replies (1)

30

u/cowlinator May 25 '21

Had a friend who worked at United Airlines tell me that at one point many years ago they "upgraded" from Windows to Dos. (They now use Windows, thankfully)

2

u/jaysuchak33 May 26 '21

It’s evolving, backwards

2

u/darksounds May 26 '21

I just did that: Microsoft to a company that uses Java. Used to do Java at Amazon before that. It's... Fine? There's plenty of good infrastructure around both, and the language differences themselves are pretty minor.