I have some projects in Java 6 and Spring on app server. Because of limitations in my infrastructure and governance planninng I cannot migrate to newer Java 7 or 8.
I think i could add Kotlin in those projects to use features like functional programming.
It this approach a good way to go?
Thanks
In my opinion Kotlin is a great language because it addresses all the pain points from Java in terms of boiler plate code and adds all of this plus functional programming to Java 6 (your target Java version)
So go ahead and give it a try. If you use IntelliJ you can convert Java files to Kotlin and vice versa.