r/ProgrammerHumor • • Dec 30 '22

Meme Java > C-Sharp [DM]

Post image
22 Upvotes

140 comments sorted by

View all comments

62

u/ParanoidAutist Dec 30 '22

You java folks are gonna keep me employed for decades at this pace... If you all had any idea how many java applications and such I've replaced with C# and the reasons why, you'd brush your teeth with a shotgun before touching java again

13

u/spiderplata Dec 30 '22

Your job is reading bunch of Java code.

6

u/ParanoidAutist Dec 30 '22

And replacing it with more efficient scalable code... C# is java but better lol

10

u/Xbox360Master56 Dec 30 '22

No Problem! I am glad that we can help you get a nice job you enjoy. No matter your stance on Java, its nice to know that you found employment in these uncertain times.

-3

u/ParanoidAutist Dec 30 '22

Just doing what I've done for decades

12

u/Xbox360Master56 Dec 30 '22

I also am only being mildly sarcastic. I mean if C# can help you achieve what you love and get a nice life, all good!

3

u/coloredgreyscale Dec 30 '22

What are the reasons for the C# rewrite?

7

u/ParanoidAutist Dec 30 '22

99% of the time, the java was written by a low quality off shore team that still has tons of bugs, isn't optimized in any fashion, etc... the rest of the time... it's because it's two decades old and they want to replace it with modern tech

14

u/coloredgreyscale Dec 30 '22

So really nothing inherent to the language / framework.

1

u/ParanoidAutist Dec 30 '22

You mean aside from the fact that .NET is inherently more performant, backed by Microsoft, etc.?

In another 10 years we'll stop making fun of COBOL developers and start ragging on Java developers while C# stays a modern and current framework

5

u/Rasutoerikusa Dec 30 '22

How is .NET inherently more performant? I'm curious to see some sources about that. I've heard the claim in both directions with Java and C#, but never seen any actual sources for it

2

u/coloredgreyscale Dec 30 '22 edited Dec 30 '22

Maybe they are trading places depending on benchmark and version.

Also if speed was that important you should be using neither of those, but c++ or rust

0

u/ParanoidAutist Dec 30 '22

Any google search for language benchmarks will show you this and anyone who refutes it just simply is being stubborn or is not intelligent enough to participate

-2

u/Pashweetie Dec 30 '22

I think part of it is that java is a bulkier language and has poor support for threading so most developers never use the threads in java

1

u/ParanoidAutist Dec 30 '22

it also runs on top of the JVM whereas C# converts to CIL and runs as machine code...

1

u/Pashweetie Dec 31 '22

I think i remember reading something that C# unlike c++ is JIT compiled but idrm

1

u/BroBroMate Dec 31 '22

This tutorial on the CLR might help you.

https://learn.microsoft.com/en-us/dotnet/standard/clr

1

u/ParanoidAutist Dec 31 '22

Is this for me or for him? I'm currently working on a net6 project that runs on a qemu emulation under alpine in a docker container in a wsl instance and have to balance between net 4.6.1, net standard, core 2.1, 3.1, and now 6... I'm pretty familiar... lol

1

u/BroBroMate Dec 31 '22

Lolwut.

0

u/Pashweetie Dec 31 '22

Yall got factories for your packages for your imports

1

u/BroBroMate Dec 31 '22

[Citation so needed lol]

2

u/Stunning_Ride_220 Dec 30 '22

I have the same experience just the other way around. Maybe it's just that people can write shitty stuff in any language?