[quote=“phunni,post:139,topic:59074”]
As princecc said, it’s mostly about the framework and API you are using, how you have to do the architecture of your application. There are some limiations/common workarounds for problems other platforms don’t suffer that are related to the JVM, but I won’t emphasize this too much now.
As for your question: Yes, you are totally free, within the bounds of Kotlin of course. Since Kotlin is a objectfunctional language at its core, you have the well-known foundation of object orientation. Additionally, there are first class functions and a strong std lib for functional stuff. If you want to design your application in a very pure functional way, than there might be better alternatives out there. Even if you always want to use the most complex programming patterns to solve every problem with absolute perfection…than maybe the whole JVM is not your best choice. If you only talk about web frameworks, with Kotlin you can pretty much use everything Java can use, so you have concepts like function as a server, servlet apis, spring for good old mvc applications, Sinatra-like web frameworks…and Kotlin is very useful for DSL stuff, if you would want to be that flexible.