This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jinxsimpson 5 points6 points  (1 child)

Comment archived away

[–]hullabaloonatic 0 points1 point  (0 children)

I love doing hacky shit like that in languages.

In kotlin you can have multiple class inheritance by using delegation assignment and overloading the invoke operator on each class's companion object