3 ms·
The article seems to paint Kotlin as not really much of a functional language as Scala is but more of a Java replacement. This is just not true. Both languages
by jgrant27 9y ago
The article seems to paint Kotlin as not really much of a functional language as Scala is but more of a Java replacement. This is just not true. Both languages will not stop you from writing imperative code just as much as either can be used for a very functional style of programming.
It really comes down to the caliber of developer and not the language choice here.
- foolfoolz 9y agoseems very elitist to say functional vs imperative depends on the caliber of the developer. there's plenty of reasons to choose either paradigm. language choice is a reasonable factor. just because you like OO doesn't mean you are bad and just because you like functional doesn't mean you are good
- jackmott 9y agowhat if my object has first class functions as all of its members? i am then bad and good?
- foolfoolz 9y agoyou're a few thousand unit tests away from web scale
- jswizzy 9y agoI think OO when done right looks very much like FP. The problem is that OOP is just as hard as FP to write since most languages that claim to be OO languages are actually heavily procedural in nature.