timotheecour / D_vs_nim

comparison of D vs nim
Apache License 2.0
62 stars 14 forks source link

Update README.md #15

Closed bausshf closed 6 years ago

bausshf commented 6 years ago

Inheritance is closer to Java than C++. C++ allows multi-inheritance, D doesn't. Classes are also classes in D, just like Java; both reference types. In C++ classes are value-types and are basically wrappers on-top of structs.

timotheecour commented 6 years ago

thanks!