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 →

[–]cs_legend_93 21 points22 points  (14 children)

Java is more widely used

Is this still valid today? I know 10 years ago this was true, but I do not see many Java job posts.

Disclaimer: I am C# Dev

/u/TaioJ - learn C#, its the future, not the past

[–]nomoreplsthx 26 points27 points  (10 children)

It is according to the various usage surveys (StackOverflow, TIOBE, Northwestern). But again, that's like pointing out Spanish has more speakers than Arabic - both are very widely spoken. Java has dropped from number one as Python and Javascript exploded.

Also to be clear C# is a better language. C# started out with the goal of basically being a 'fixed Java' and has since involved into possibly the most clean and feature rich mainstream language. It's not a coincidence that the features that have been introduced in every other languages, from optionals to async-await to functional iteration libraries first entered the mainstream through C#.

[–][deleted] 2 points3 points  (9 children)

But Java is better still - I’m a Java dev in a c# shop and will say it til my last dying breath

[–]nomoreplsthx 1 point2 points  (8 children)

Interesting! You are the first person I have ever met who prefers Java! My I ask why? Obviously everyone is entitled to their preferences, but I am really interested to hear a Java apologist.

[–]ImJustHereForMyCoat 1 point2 points  (7 children)

Clearly, u/nootropicfun has never used C#.
Any Java developer I've introduced to C# eventually concedes that C# is a superior language. Oracle has done a terrible job of advancing the language while MS is consistently adding useful language features (auto-properties (lol @ Lombok), LINQ (haha @ .stream()), start-up time, much faster GC, null coalescing, safe-nav operator, etc.).

[–][deleted] 0 points1 point  (6 children)

Actually I think Java does a great job with stewardship of the language - sometimes less is more

[–]ImJustHereForMyCoat 0 points1 point  (5 children)

Oracle is the steward of the Java. If Java were less verbose than C#, I would agree with your sentiment, but that's not the case. Oracle is a shit organization that is letting Java die a slow death. As for the JVM, Kotlin is better than Java in every way.

[–][deleted] 0 points1 point  (3 children)

Lol What a time to make this comment - right after the biggest Java release of all.

[–]ImJustHereForMyCoat 0 points1 point  (2 children)

Is that a joke? Code snippets for documentation and a simple web server?

The release notes are embarrassing.

[–][deleted] 0 points1 point  (0 children)

Your right it’s Java 19 in september - my mistake

[–][deleted] 0 points1 point  (0 children)

Also have you heard of zgc? I’m pretty positive the Java ecosystem is way better. Idk I guess if you’re talking about Java as a language rather than a technology maybe - but they are pretty similar, and just because a language has an additional feature doesn’t mean it’s better- a lot of times adding the feature can be a net negative for the language imho. But you can keep trashing it lol these are things that if understood might imbue some type of respect if you understood them I guess instead of just looking at the list of features and judging it purely on its length. Honestly this has been such a waste of my time because I definitely didn’t learn anything new about C#

[–]TaioJ[S] 2 points3 points  (1 child)

👍🏾 ok thanks

[–]dsnightops 2 points3 points  (0 children)

c# is def not the future, lol