Yeah, it's verbose, but the environment is nice. The documentation, the IDE (intellij), the performance, being able to mix Kotlin or Clojure in there...
Yeah, it's verbose, but the environment is nice. The documentation, the IDE (intellij), the performance, being able to mix Kotlin or Clojure in there...
i think it's fine but almost everything it does C# does better
the only people that straight up hate both are nocoders
>locking yourself to windows
ok pajeet
>living in 2010
>i think it's fine but almost everything it does C# does better
First of all that statement is irrelevant because everything C# does, Kotlin does better.
Second of all it's not even true because there are multiple things Java does better than C#:
- massively bigger and higher quality ecosystem
- backwards compatibility. You can't use .NET libraries in .NET Core. You will have to rewrite them while you can pick a 20y old jar and run it on the latest JDK.
- Java's Go/Erlang like new concurrency model is superior to async/await
- better, battle-tested and actually cross-platform GUIs (inb4 "muh avalonia" - fuck off, it's a toy)
- Graal's AOT compiler is literally years ahead of .NET
- CLRs GC can't compete with JDK's GCs, especially not the newer ones
- actually the JVM performs better https://www.techempower.com/benchmarks/#section=test&runid=e6dd1abd-7aa2-4846-9b44-d8fd8a23d385&test=composite
- not really a Java/C# issue but unlike F#, Scala isn't dead
>Go/Erlang like new concurrency model
But go and erlang have very different concurrency models. Erlang has actors, supervisors etc. Go has channels.
>But go and erlang have very different concurrency models.
Sorry I wasn't precise in my wording. What I meant was that both Goroutines and Erlang processes are basically green threads. The nice thing about Java's virtual thread implementation is that you don't have to think in blocking/non-blocking code anymore. No colored functions or that kind of shit.
>No colored functions or that kind of shit.
Function coloring is a mess in any language that does it; it seems simple (and conceptually is easier to implement) but it leads to a lot of bloat and complexity in libraries as they have to deal with needing to support all the combinations of colors their callers might require.
Having an actual stack means you can avoid the mess for async; you can suspend from wherever in the code it makes sense to do so and the rest of the code (between that point and the top of the stacklet) doesn't need to care. It's comfy and powerful.
(C++'s various kinds of const-ness are another area where this general problem crops up, and I believe Rust has an even more complex function coloring system.)
Good morning mr sir!
As someone who worked a lot with Java, I like it, it's way better than jshit for backend but while C# is better than it for backend, it has a better support on Linux than any israelitesoft languages
It's not my favorite language but I like it for what it does.
C# is a better replica if you're doing backends and Go is overall better than both once you're used to work with it.
Good morning sir, I hate java developers and Satan(Oracle) but I don't really mind the language and its tooling.
The only advantage of java is that it is cross-platform. If you are doing something that only needs to run on Windows there is ZERO reason to use Java instead of C#.
ref / in / out alone make C# an infinitely superior language.
Most Java applications in the wild are for backend and almost all of them use linux
Doesn't modern C# with .net core just run on Linux?
C# is nice, but what I like the most about it is that it can be called C shart
Depends on your definition of "just run". You need to install mono and run C# executables with it like `mono app.exe` while Windows ships with everything and you just click the C# executable like a native one.
Beyond the obvious I'm not sure how cross-platform C# is. Python for example has some weird platform specific parts and I'm not familiar enough with C# to be able to tell.
And Windows and Linux are not the only targets for Java. Remember how the runtime installer used to say "7 billion devices use Java" or something? They aren't joking about it. Smartcards and phones are mostly Java
that hasn't been the case since 2016 when .NET Core came out
you can just have Linux as your build target and it just werks
not at all ser its a big meme, plz understand.
No. I like how consistent and structured it is
>4 different classes just to interact with the filesystem
why? C only needs 1
C don't have classes retard.
you only need a "FILE" in C to do everything you can do with 4 different data types in java
Come on undergrad, now is not the time
Relevant image.
Yes, pajeet, you're the only one. Now remember: poo in loo, not in board.
yeah its pretty good. C# better and just use Rider its the same as intellij. i pick java over python any day
>The .NET SDK includes a telemetry feature that collects usage data and sends it to Microsoft when you use .NET CLI commands. The usage data includes exception information when the .NET CLI crashes. The .NET CLI comes with the .NET SDK and is the set of verbs that enable you to build, test, and publish your .NET apps. Telemetry data helps the .NET team understand how the tools are used so they can be improved. Information on failures helps the team resolve problems and fix bugs.
https://isdotnetopen.com/
Good morning bloody basterd maderchood sirs, 20 Rs donated, rape you next week.
No, you're not.
It's literally tied for second place as the most popular language in the world.