Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> But then I would need to create a real instance of that trait first which implements the missing abstract metho

You don't seem to know that Kotlin supports delegation natively. Look up the `by` keyword.

And please just post some code next time you're trying to make a point like this because this dialogue is pretty much impossible to follow.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: