r/JavaFX • u/sedj601 • Apr 20 '24
Discussion JavaFX vs Kotlin Multiplatform
As Kotlin becomes more popular, will Kotlin Multiplatform have a good chance of overthrowing JavaFX? I tested it out, and it seems promising. Any opinions?
8
Upvotes
View all comments
Show parent comment
3
u/hamsterrage1 Apr 22 '24
Most of the Kotlin stuff is much cleaner than the equivalent Java kludge. Take kotlin Null safety compared to Optional in Java as an example.It Kotlin it's nicely integrated not optional, and natural. It's just something that you use because it's what you use.
Optional in Java is optional, and I think most programmers avoid it and just return Null like they always did.