Random thought - one of things I like about Kotlin...
# announcements
v
Random thought - one of things I like about Kotlin is the ability to chuck a bunch of classes and functions into a file during the rapid prototyping phase. Then IntelliJ makes it easy to refactor it into separate files later. Java, so many files being created and renamed and deleted....
3
K 3
s
Although much easier in Kotlin, this was not impossible in Java. In Java, you can add as many static methods and inner classes to the main class as you want and refactor them out later.
j
You can also add as many top-level classes as you want in the same file in Java. Only one can be public though.