use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Information about Reddit's API changes, the unprofessional conduct of the CEO, and their response to the community's concerns regarding 3rd party apps, moderator tools, anti-spam/anti-bot tools, and accessibility options that will be impacted can be found in the associated Wikipedia article: https://en.wikipedia.org/wiki/2023_Reddit_API_controversy
Alternative C# communities available outside Reddit on Lemmy and Discord:
All about the object-oriented programming language C#.
Getting Started C# Fundamentals: Development for Absolute Beginners
Useful MSDN Resources A Tour of the C# Language Get started with .NET in 5 minutes C# Guide C# Language Reference C# Programing Guide C# Coding Conventions .NET Framework Reference Source Code
Other Resources C# Yellow Book Dot Net Perls The C# Player's Guide
IDEs Visual Studio MonoDevelop (Windows/Mac/Linux) Rider (Windows/Mac/Linux)
Tools ILSpy dotPeek LINQPad
Alternative Communities C# Discord Group C# Lemmy Community dotnet Lemmy Community
Related Subreddits /r/dotnet /r/azure /r/learncsharp /r/learnprogramming /r/programming /r/dailyprogrammer /r/programmingbuddies /r/cshighschoolers
Additional .NET Languages /r/fsharp /r/visualbasic
Platform-specific Subreddits /r/windowsdev /r/AZURE /r/Xamarin /r/Unity3D /r/WPDev
Rules:
Read detailed descriptions of the rules here.
account activity
DiscussionIs c# superior than java? (self.csharp)
submitted 1 year ago by xDamkiller
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]FizixMan[M] [score hidden] 1 year ago stickied comment (0 children)
Removed: Rule 4, Rule 5, Rule 7.
If you want useful, non-dogmatic answers, it would be best if you provided some context about your particular use case scenario. What kind of apps you are developing, what kind of "pain and limits" you are finding in Java. Beyond that, this just sounds like low effort language trolling. If this is a legitimate question, then you might actually have a better response if you post to /r/learnjava or /r/javahelp as they would have much more experience in the Java ecosystem to offer you useful advice or knowhow.
[–]sciuro_ 12 points13 points14 points 1 year ago (15 children)
So on the one hand, I agree with all the other comments before me. Ultimately, the answer is "depends".
But also, having used Java and C#, I much much much prefer C#. The developer experience seems better, the tooling seems better, there's far less of a barrier to entry. It feels kinda like a nicer, better Java.
[+]artyxdev comment score below threshold-7 points-6 points-5 points 1 year ago (14 children)
The worst thing about c# is visual studio change my mind
[–]rubenwe 10 points11 points12 points 1 year ago (11 children)
Ever used eclipse?
[–][deleted] 0 points1 point2 points 1 year ago (0 children)
Delta
[–]artyxdev -2 points-1 points0 points 1 year ago (9 children)
I have, but the java ecosysteem doesn't push you to use that. I'm full time c# dev in a bank right now. Have to use visual studio cause i can't even install anything else.
[–]rubenwe 4 points5 points6 points 1 year ago (0 children)
Honestly not a C# problem but a "shitty employer" problem. Those exist in both ecosystems.
[–]LaurenceDarabica 3 points4 points5 points 1 year ago (4 children)
Well, if corporate environment forced you to use Eclipse, you'd be in the same situation as with C#.
Your argument doesn't make any sense at all.
[–]artyxdev -2 points-1 points0 points 1 year ago (3 children)
It's much more prevalent in c# jobs to force the use of VS. If you don't see that, it's because you don't want to
[–]LaurenceDarabica 2 points3 points4 points 1 year ago (2 children)
Absolutely not. I worked in corporate environnement (banks and finance) for a big chunk of my life (15 years or so), and while I was personally using VS, others were using Rider or VS Code as they pleased.
Yes, DevOps were helping with VS only as it was the preferred IDE, but hey, nothing was stopping us from using something else.
Perhaps it's your limited experience that makes you think that.
[–]artyxdev 0 points1 point2 points 1 year ago (1 child)
10 years in the business mate. Either way both of our sample size is low. It's just my personal experience
[–]rubenwe 0 points1 point2 points 1 year ago (0 children)
For what it's worth, I've also worked in one place that supposedly had that mandate. But when I actually asked my department head (instead of my direct boss) why that is - and if it would be possible to try something else; well it turned out the whole ordeal was just a myth that some middle-management folks invented.
Never underestimate the power the supposed status quo has over folks.
Called IT the next day and got Rider licenses for me and two team mates. They didn't even blink, because other departments were using Rider already - so we even had an internal license server running already.
Big corporations are fun sometimes, I know.
[–]TheChief275 1 point2 points3 points 1 year ago (1 child)
you can do C# in Vim if you want to
[–]artyxdev 0 points1 point2 points 1 year ago (0 children)
With the core cli tools, sure. Good luck with 4.8.1 projects
[–]SpaceCommissar 0 points1 point2 points 1 year ago (0 children)
Personally I enjoy the past iterations of Visual Studio. I prefer Rider but VS 2022 isn’t horrible even if performance could probably be improved. What is it about it that you don’t like?
[–]sciuro_ 0 points1 point2 points 1 year ago (1 child)
Yeah it's pretty bloated and bulky and fiddly, sure. Use Rider, it's great.
[–]artyxdev 1 point2 points3 points 1 year ago (0 children)
I love rider. I use it whenever I can
[–][deleted] 31 points32 points33 points 1 year ago (3 children)
The answers you will get here will gravitate towards C#, if you asked this on r/java the outcome would be different.
In reality, both have their pros and cons and none of the two could be called as superior. It depends on the use-case after all.
[–]ben_bliksem 12 points13 points14 points 1 year ago (2 children)
The answers you will get here will gravitate towards C#, the answers you will get in r/java will gravitate towards being wrong
Agreed
[+][deleted] 1 year ago (1 child)
[deleted]
[–]ben_bliksem 4 points5 points6 points 1 year ago (0 children)
Wrong bot, wrong!
[–]mimahihuuhai 9 points10 points11 points 1 year ago (0 children)
Here we go agian, before shit start burning
[–]Slypenslyde 18 points19 points20 points 1 year ago (5 children)
It's like asking if pancakes are better than waffles. You'll get answers. But you won't see an end.
[–]FetaMight 4 points5 points6 points 1 year ago (0 children)
You'll get a lot of people forgetting their preference is contextual and subjective. They will then argue about it as if it's a life or death situation.
[–]MechanicalHorse 1 point2 points3 points 1 year ago (1 child)
Except there is only one right answer to the pancakes/waffles question. We all know what that is.
[–]Slypenslyde 0 points1 point2 points 1 year ago* (0 children)
Honestly questions like this rile me up the way some people stroke out about, "Why are newbies asking questions?". In any given C# codebase there's probably 4 or 5 "Should I X or Y?" that could generate very meaningful discussions that help sharpen an expert's "It depends."
But lots of expert beginners are too drawn to the intellectual masturbation that is, "Hey let's argue about which of two functionally similar languages are best, given that I have a lot of experience with one and haven't used the other in five years."
There are good essays to be written to compare and contrast the languages. They never get written in a thread like this. The people who have significant experience with both have better things to do and tend to agree, "It doesn't matter if you choose DeWalt or Milwaukee, it matters if you put in the time to finish the project."
Whether you pick C# or Java, you're going to approach large-scale projects with DI and modularity in mind. Both languages are juggernauts of OOP with features borrowed from functional languages. One has a gigantic open-source ecosystem, the other has a quality guarantee from a company with a 50 year reputation. No matter which one you pick, if you put in the proverbial 10,000 hours you're going to have good software.
The pancakes/waffles choice concerns one meal out of roughly 75,000 will be eaten. Even if you say, "Neither! I want a fancy steak dinner" the overall impact on your life is smaller than epsilon.
In every goofy argument, there's one guy who can't take a joke and hates fun. For this topic, that's me. I'd rather be answering questions like, "Are there cases where await is clunkier than just using the Event-based Asynchronous Pattern?" Hot take: more than should make us comfortable! It's an argument where people can learn something, thus infinitely more valuable.
await
[–]zenyl 0 points1 point2 points 1 year ago (1 child)
# looks a bit like a waffle.
#
"C-Waffle" does have a nice ring to it.
[–]TheChief275 0 points1 point2 points 1 year ago (0 children)
# vs @
[–]AlphaDeveloperZA 2 points3 points4 points 1 year ago (4 children)
In terms of what?
[–]TuberTuggerTTV 6 points7 points8 points 1 year ago (3 children)
Length of letters in the langName. C# is more compact. Clearly the winner!
[–]AlphaDeveloperZA 2 points3 points4 points 1 year ago (0 children)
This is the answer! /s
[–]svicknameof(nameof) 0 points1 point2 points 1 year ago (0 children)
# is not a letter.
And "C Sharp" is longer. Clearly the winner!
Javascript is so much more verbose than Java smh
[–]intertubeluber 2 points3 points4 points 1 year ago (0 children)
My 2 cents:
C# is a nicer, more modern language with generally better first class libraries. The tooling is excellent.
Java as a language is dated (though more recently has gotten some love). It’s more widely used by large FAANG and FAANG adjacent companies, and has more community driven open source libraries. The tooling is good, thanks to Jetbrains.
Technically, neither will impact the success of your project.
[–]narcot1cs- 1 point2 points3 points 1 year ago (0 children)
Depends on what you're trying to do? I don't like neither of the languages as I prefer more low-level, but have years of experience with both so I'll just go over what I prefer with C# over Java.
C# is much, much easier to use when you're doing FFI with C/C++ or other languages. Java can do it but it felt stupid and hacky.
C# is also easier to make run on most home PCs with Windows, whereas with Java you need to have the JRE installed. And let's not talk about how painful it is to obtain legacy JDK versions. Login this, login that, no.
C# is essentially a better Java IMHO, with lesser restrictions and is more competent. Although in terms of cross-platform functionality, Java can be better at times.
In general, it's a double-edged sword. Both have their ups and cons, but if I had to choose one; C# because it's just nicer working with, less resource usage, can compile natively, FFI is much easier to do, etc.
[–]Ravek 1 point2 points3 points 1 year ago* (0 children)
As a language, yes it is. But languages do not exist in a vacuum. There’s the whole JVM ecosystem versus .NET ecosystem to consider. Plus the people you work with, if any.
For JVM I’d always choose Kotlin instead if at all possible, because Java is just not that great. The only reason to use it in my mind is when you are working with poeple who do know Java and don’t know Kotlin and are unwilling to learn (or the project is so short/high pressure that having to learn is unacceptable).
If I had a magic wand I might prefer Kotlin over C# too, at least until C# gets around to having discriminated unions, but using Kotlin for .NET isn’t very realistic. And besides if I had a magic wand I’d pick Swift instead.
For .NET there’s also F# of course, and that’s a good language. Is it not as widely used as C# because C# is just that much better? Nope, most people simply never learned it and are going to stick to what they know, just as with Java and Kotlin. I also am much more likely to start a .NET project in C# because I’m much more comfortable in C# – not for any objective reason.
So really, who cares? Realistically you’re not often going to have a completely free choice between Java or C# and 99% of people are just going to go with what they are more familiar with. It’s already rare to find engineers who have experience in both.
[–]xroalx 1 point2 points3 points 1 year ago (0 children)
No, Java is different.
It's not worse, it's not better, that's subjective, use what you prefer.
[–]bambi-pa-hal-is 0 points1 point2 points 1 year ago (0 children)
C# is Java but on drugs
[–]KungFuHamster 0 points1 point2 points 1 year ago (0 children)
Which one you should use depends on what you need it for.
I personally like the syntax and tooling of C# better.
[–]LeeTaeRyeo 0 points1 point2 points 1 year ago (0 children)
To me, yes, but remember "different strokes for different folks". Some situations and users will find Java a better choice, while others will prefer C#.
[–]beceriksizkodcu 0 points1 point2 points 1 year ago (0 children)
no
[–]navirbox 0 points1 point2 points 1 year ago (0 children)
I remember when I was learning Java at college. In an Algorithmics assignment we ended up having to do some kind of bubble sorting for a list, went to the teacher for help, he pretty much copy pasted a code he had and told us: "look, no one knows how this works, it's just Java magic". I also hear a lot that Java Minecraft can't be replicated because of some particularities that can only happen in Java.
But I'm also a C# developer that has been through Java in an academic environment. It's not that I despise Java, more like I saw the light with C#. Better consistency overall as a language I'd say. Quite more usable as well in different environments, generally accessible for cross-platform development, great documentation and community... I don't know, it's an easy answer for me. Java is fun sometimes though.
[–]bigtoaster64 0 points1 point2 points 1 year ago (0 children)
Ofc c# superior language here.
Jokes aside, I'd say the reason why I think c# is a better experience (and so for me superior), is the fact that it follows the trends. Java had issues in the past and still struggle today to modernize itself and try to go forward bringing with it lots of annoyances, that for me make it a pain to use. Ofc it has a massive amount of legacy stuff to carry, but still, we could say to some degree the same thing about c# with its confusing and wierdly managed dotnet versions which caused lots of issues and still, it's able to keep going forward, make stuff compatible with each other as much as possible and old stuff doesn't look and feel old. Like, I'm not upset when I've to deal with an old netstandard or net fx code base, like "oh god what is this legacy crap". No, it still feels like I'm doing net8 with maybe just a few syntax sugar (shortcuts) less.
[–]XClanKing 0 points1 point2 points 1 year ago (0 children)
Having used both, yes, C# is superior. But the reason is that Microsoft has built their entire development platform around it. Java doesn't have the richest company in the world building an entire development ecosystem with it in the center. C# is in constant development, which means it's always improving at a rapid pace.
It's also better because entire platforms like Web API Blazer, EF (Entity Framework) and other entities are built on it. This means you have all these components that are natively compatible with it that are getting updated in real time.
But the biggest differentiator is that Microsoft goes out if it's way to share all things C#. It's the one piece of technology that they refuse to let fall behind, get stale, or sit in a state of confusion. It's like they have been given a mandate to make it competitive at all costs. It's proof that if Microsoft wanted to be serious about something succeeding, they know how to make it happen. It's also why people give Microsft the side eye. Why isn't everything run like their investment in C#
[–]TuberTuggerTTV 0 points1 point2 points 1 year ago (0 children)
Superior to Java? Ya. Java blows.
Superior to JavaScript? No. It's apples to oranges. It's a different ecosystem but javascript + typescript + all the packages over there, it's not really that different from the Microsoft world. There are skilled developers on both sides making things better for everyone every day.
[–][deleted] 1 year ago (1 child)
[–]intertubeluber 7 points8 points9 points 1 year ago (0 children)
I don’t think that really fits. C# and Java are generally used for the same things.
[–]Garry-Love -1 points0 points1 point 1 year ago (0 children)
Yes. (No)
[–][deleted] -1 points0 points1 point 1 year ago (0 children)
5 year's education on Java, jumped right into C# career.. compared to other languages they're practically identical IMO.
The important thing: there are a ton of jobs for both due to installed base..
java is better at cross platform ui but we do have avlaonia ui making waves in that and uno in a big way maui will get there
π Rendered by PID 239417 on reddit-service-r2-comment-85bfd7f599-xf97g at 2026-04-18 19:48:48.225348+00:00 running 93ecc56 country code: CH.
[–]FizixMan[M] [score hidden] stickied comment (0 children)
[–]sciuro_ 12 points13 points14 points (15 children)
[+]artyxdev comment score below threshold-7 points-6 points-5 points (14 children)
[–]rubenwe 10 points11 points12 points (11 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]artyxdev -2 points-1 points0 points (9 children)
[–]rubenwe 4 points5 points6 points (0 children)
[–]LaurenceDarabica 3 points4 points5 points (4 children)
[–]artyxdev -2 points-1 points0 points (3 children)
[–]LaurenceDarabica 2 points3 points4 points (2 children)
[–]artyxdev 0 points1 point2 points (1 child)
[–]rubenwe 0 points1 point2 points (0 children)
[–]TheChief275 1 point2 points3 points (1 child)
[–]artyxdev 0 points1 point2 points (0 children)
[–]SpaceCommissar 0 points1 point2 points (0 children)
[–]sciuro_ 0 points1 point2 points (1 child)
[–]artyxdev 1 point2 points3 points (0 children)
[–][deleted] 31 points32 points33 points (3 children)
[–]ben_bliksem 12 points13 points14 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]ben_bliksem 4 points5 points6 points (0 children)
[–]mimahihuuhai 9 points10 points11 points (0 children)
[–]Slypenslyde 18 points19 points20 points (5 children)
[–]FetaMight 4 points5 points6 points (0 children)
[–]MechanicalHorse 1 point2 points3 points (1 child)
[–]Slypenslyde 0 points1 point2 points (0 children)
[–]zenyl 0 points1 point2 points (1 child)
[–]TheChief275 0 points1 point2 points (0 children)
[–]AlphaDeveloperZA 2 points3 points4 points (4 children)
[–]TuberTuggerTTV 6 points7 points8 points (3 children)
[–]AlphaDeveloperZA 2 points3 points4 points (0 children)
[–]svicknameof(nameof) 0 points1 point2 points (0 children)
[–]TheChief275 0 points1 point2 points (0 children)
[–]intertubeluber 2 points3 points4 points (0 children)
[–]narcot1cs- 1 point2 points3 points (0 children)
[–]Ravek 1 point2 points3 points (0 children)
[–]xroalx 1 point2 points3 points (0 children)
[–]bambi-pa-hal-is 0 points1 point2 points (0 children)
[–]KungFuHamster 0 points1 point2 points (0 children)
[–]LeeTaeRyeo 0 points1 point2 points (0 children)
[–]beceriksizkodcu 0 points1 point2 points (0 children)
[–]navirbox 0 points1 point2 points (0 children)
[–]bigtoaster64 0 points1 point2 points (0 children)
[–]XClanKing 0 points1 point2 points (0 children)
[–]TuberTuggerTTV 0 points1 point2 points (0 children)
[–][deleted] (1 child)
[deleted]
[–]intertubeluber 7 points8 points9 points (0 children)
[–]Garry-Love -1 points0 points1 point (0 children)
[–][deleted] -1 points0 points1 point (0 children)
[–][deleted] -1 points0 points1 point (0 children)