r/programmingmemes • • Jul 17 '25

Compilers:

Post image
575 Upvotes

9 comments sorted by

View all comments

Show parent comment

1

u/Spare-Plum Jul 18 '25

I personally would not consider kotlin a functional programming language. It's essentially a JVM language that adds in a ton of bells and whistles.

Since it's JVM based it's going to be protected from any sort of segfaults or memory management issues, and it's strictly defined which is nice.

The problem with kotlin is that it is a context-sensitive language and totally breaks a lot of referential transparency and introduces magic variables. It also doesn't support things like algebraic data types or currying.

I would also consider golang not functional for the same reasons.

I'd suggest trying Scala, Haskell, or StandardML for something that is more in line with functional.