2026-06-02 21:09 UTC
@b0rk@social.jvns.ca it always disappointed me how much OOP harps on "composition over inheritance!", but all the OOP languages make inheritance easier than composition.
(Except for Kotlin and I can only assume the various lisps)
Replies (1)
-
@JSAMcFarlane@mastodon.ie 2026-06-03 10:59
@kae_bytheocean@slime.global @b0rk@social.jvns.ca in C++ composition is easier than inheritance but it's discouraged by undergrad teachers because it's a C feature and therefore assumed to be inferior.