← Home ← Back to /g/

Thread 106851487

30 posts 8 images /g/
Anonymous No.106851487 [Report] >>106851982 >>106852004 >>106852751
>Works on most hardware without changing code
>Works for web dev though wasm
>still compiles to binary, either with dotnet runtime or standalone
>braindead package management
>easy to understand, C style syntax
>type safe
>etc
C# genuinely seems great. Why does nobody ever use it? What's the catch?
Anonymous No.106851516 [Report]
Just realized I fucked up the OP image but apparently you can't delete your own threads anymore.
Anonymous No.106851574 [Report] >>106851592 >>106852644
Lots of people use it. It's Microsoft's Java, and like Java it's only good for soulless enterprise business logic apps. Lots of soulless enterprises do indeed use C#. No one else uses because it fucking sucks, same as Java
Anonymous No.106851592 [Report] >>106851754
>>106851574
In what sense does it suck?
Anonymous No.106851754 [Report] >>106852636
>>106851592
Extremely verbose, inexpressive, overcomplicated project structure, interfaces, boilerplate, shitty verbose libraries, tightly integrated with a proprietary IDE because it's almost impossible to refactor its extremely rigid classes without one. Like Java, it operates on the same conceptual objects as UML diagrams, which was intended as a neutral meeting place between programmers and businessmen, a kind of modern COBOL. No one wants to do that unless they get paid a lot.
Java and C# work best when you can define the architecture of the entire project in advance (the UML diagram), define the classes and their relationships, and then just implement the details. This is a fantasy world, it's just now things work, and modern languages moved away from this approach, even for business logic.
Anonymous No.106851756 [Report]
i have literally zero usecase for another algol derivative, sorry
Anonymous No.106851766 [Report]
*it's just not how things work
Anonymous No.106851777 [Report] >>106851786 >>106851819
hmm. I'm trying to use c# for a project I'm doing because it's essentially disposable and I don't want to use C because it would take longer.
I've found that all the object oriented nonsense is a big waste of time, and the proper way to use C# is just as C but with garbage collection and a better standard library.
Anonymous No.106851786 [Report] >>106851868
>>106851777
Yes, so just use Go because that's what you are describing
Anonymous No.106851819 [Report] >>106851868
>>106851777
learn sml or ocaml
Anonymous No.106851868 [Report] >>106851933 >>106852037
>>106851786
>>106851819
dont want any of that crap
c# is already supported by my visual studio which I already have. other languages don't have good ide support which wastes development time.
only thing is that just because a language is "object oriented" doesn't mean it's a good idea to start doing classes and inheritance and implementing IEquatable<T> and IEnumerable<T> on everything filling your code base up with boilerplate
Anonymous No.106851933 [Report] >>106851995
>>106851868
>c# is already supported by my visual studio which I already have. other languages don't have good ide support which wastes development time.
Funny, I expressed the same thing as a drawback:
>tightly integrated with a proprietary IDE because it's almost impossible to refactor its extremely rigid classes without one

Other languages don't need as much IDE support and don't tie you down to a single platform. If you are already on Windows and used to Visual Studio then do whatever you like. But this is definitely one of the reasons C# did not get widely adopted.
Anonymous No.106851982 [Report]
>>106851487 (OP)
In the sense that its worse and more proprietary Go, yes thats all true
Anonymous No.106851995 [Report]
>>106851933
>other languages don't have good ide support which wastes development time.
what do you even mean by this? Every mature language (that isnt for web jeets like python or js or whatever) has a decent LSP. How much more handholding do you need exactly?
Anonymous No.106852004 [Report]
>>106851487 (OP)
2lowLevel4me
Anonymous No.106852037 [Report] >>106852064
>>106851868
visual studio isn't even a good ide
Anonymous No.106852064 [Report] >>106852087 >>106852199
>>106852037
What are some good IDEs?
Anonymous No.106852087 [Report] >>106854000
>>106852064
jetbrains stuff, xcode, unity
Anonymous No.106852199 [Report] >>106855883
>>106852064
Sublime
Anonymous No.106852636 [Report] >>106852660 >>106852663 >>106853614 >>106853648
>>106851754
You sound like a python nocoder rambling about his own skill issues
I mean calling out C# for 'boilerplate' is like being unable to tie your own shoelaces.

Verbosity is what makes it great in big projects as oposed to ct.im.pp.f(); which is what neet code usually looks like.

Not liking proprietery IDEs is another giveaway you never worked in a professional environment.

>nobody likes it unless paid
At this point you lost every credibility and should join GNOME developer team as you clearly match their skillset.
Anonymous No.106852644 [Report]
>>106851574
>No one else uses
Never heard of Unity huh?
Anonymous No.106852660 [Report]
>>106852636
this nigga calling others jeets while he simps for microsoft's java

holee.
Anonymous No.106852663 [Report] >>106852713 >>106852836
>>106852636
Java like languages don't need the extreme verbosity. Scala proved it out and then Kotlin took it further in a language that isn't a complete mess
Anonymous No.106852713 [Report]
>>106852663
Both lingos you've mentioned are unbearably ugly(syntax) and have slow ass runtime.
Anonymous No.106852751 [Report]
>>106851487 (OP)
>Works for web dev though wasm
no longjmp setjmp get lost
Anonymous No.106852836 [Report]
>>106852663
scala is just a worse haskell
Anonymous No.106853614 [Report]
>>106852636
>Verbosity is what makes it great
Anonymous No.106853648 [Report]
>>106852636
Verbosity is the enemy of whiteness. You want long descriptive names for all your shit, and plenty of comments if you've got the time, but let that be all that is verbose about the language. C had it right from the getgo.
Anonymous No.106854000 [Report]
>>106852087
low effort bait
Anonymous No.106855883 [Report]
>>106852199
Not one I've tried before so thanks