• Ephera@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    14 hours ago

    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.

    • ThirdConsul@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      13 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#?