this post was submitted on 26 Apr 2025
115 points (96.7% liked)

Programmer Humor

35296 readers
166 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 15 hours ago (1 children)

Out of curiosity, could you give me an example? I usually think the opposite whenever I interact with other languages?

[–] [email protected] 1 points 5 hours ago (1 children)

Well, on the JVM side of things there's Scala and Kotlin. Scala supports all the object-oriented paradigms + the functional paradigms. Kotlin supports about the same number of features as Scala, although it puts more restrictions on them. On the Microsoft side of things, I've never tried it, but I'm guessing F# has to cover a similar object-oriented + functional feature set. Well, and from what I've heard about C++, it's presumably the language with the most features across all languages.

[–] [email protected] 1 points 5 hours ago* (last edited 5 hours ago)

C# covers all feature of functional programming that comes to mind from Go (edit: not Go, what was it, Haskell?).

Traits? Done. Monads? Done. Functions as params? Sure. Closures, errors as values, whatever you want.

What are the specific language features you're looking for or think are missing in C#?