Remix.run Logo
pjmlp an hour ago

Many of those "lots of FP features where it makes sense". were already present in Smalltalk.

Especially anything related to lambdas, map, filter and co.

Something that was lost in most OOP languages that followed suit, until like a decade later.

flossly an hour ago | parent [-]

> Many of those "lots of FP features where it makes sense". were already present in Smalltalk.

Good point. And both Java and Ruby borrowed from Smalltalk (according to Wikipedia Kotlin does not, but that is: not directly.

Sadly Java did not take Smalltalk's FP inspiration (I guess they were strayed by C++'s lead in that regard), and we needed streams and now Kotlin to fix that :)

Smalltalk's syntax never go really popular though. One could say that was its biggest drawback.