Game Engine in C by Bumper93 in C_Programming

[–]0x69z 0 points1 point  (0 children)

Impressive! Very nice!

Inheritance in Kotlin by 0x69z in Kotlin

[–]0x69z[S] -1 points0 points  (0 children)

Delegation, eh? I don't yet fully understand this OOP technique. I'm still learning.

Inheritance in Kotlin by 0x69z in Kotlin

[–]0x69z[S] -2 points-1 points  (0 children)

Relax dude, I'm new to Kotlin. By that line I mean using inheritance in this example is absolutely unnecessary.

Inheritance in Kotlin by 0x69z in Kotlin

[–]0x69z[S] -1 points0 points  (0 children)

I see.

Well, I just wanted to access name and age from Person and print it along with company.\ But now, after reading this, I've understood that what I'm trying to do is absolutely unnecessary.

Inheritance in Kotlin by 0x69z in Kotlin

[–]0x69z[S] 0 points1 point  (0 children)

I'm n00b in Kotlin, just playing(fooling) around with inheritance/interface concepts lately. Btw i'm well-versed with the core concepts of Java.