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.
👍 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)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Agreed, IDE does greyed out
public
keyword, and forobject Main {...}
, since i am from java background thought this would least look similarpsvm in a test class
.👍 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)