Hacker News new | ask | show | jobs
by ptx 3387 days ago
> Or, you know, just define a plain function.

My comment was about extension methods and how the name refers to different features in Java and Kotlin, so I meant "...whereas in Java [if you wanted to use the Java feature to do the same thing the Kotlin feature by the same name does] you would have to ...".

> those aren't methods

I know, they're only sugar for static methods, as I said.

1 comments

Right, and I was pointing out that your comment doesn't make much sense.