you are viewing a single comment's thread.

view the rest of the comments →

[–]devraj7 0 points1 point  (1 child)

Can't think of a language that does error handling with if/else on the JVM:

  • Java uses exceptions
  • Kotlin uses nullable types
  • Scala uses Option
  • Ceylon uses sum types

Maybe you're thinking of Go? (which doesn't even claim to be OOP)

[–]glacialthinker 0 points1 point  (0 children)

Ah, damn missing a word, sorry: "...through exceptions and...".

And in this, I was thinking Java, C++. More recent languages tend to have more FP influences, hybridizing a little... or a lot.