3 ms·
Better is very subjective. They both solve a lot of the same problems, but lots of people will go for Kotlin just for static typing.
by seabrookmx 11y ago
Better is very subjective.
They both solve a lot of the same problems, but lots of people will go for Kotlin just for static typing.
- niutech 11y agoGroovy 2.0 added static typing: http://www.groovy-lang.org/releasenotes/groovy-2.0.html http://www.groovy-lang.org/releasenotes/groovy-2.0.html
- seabrookmx 11y agoIt added type checking ala. Hack and Typescript. It's optional, and doesn't give you the same compile-time guarantees that a language with pure static typing does. Also, dynamic languages like Groovy take a performance hit. Static typed JVM bytecode runs faster than dynamic bytecode. Whether either of those are relevant to your application really depends, but Kotlin definitely is going to gain some followers due to it's differences from Groovy.
- uxwtf 11y agoI'm learning Swift right now, and really appreciate type checking.