DEV Community

[Comment from a deleted post]
Collapse
 
silentsudo profile image
Ashish Agre

Agreed, IDE does greyed out public keyword, and for object Main {...}, since i am from java background thought this would least look similar psvm in a test class.

Collapse
 
lovis profile image
Lovis

👍 you're right it makes it more similar.
One great thing with Kotlin is how much code you can save, so I thought it's worth mentioning (especially since @JvmStatic is ugly)