Hacker News new | ask | show | jobs
by 1718627440 301 days ago
What do you think inheritance is, if not composition of vtables? What do you think classes are, if not a composition of a vtable and scoped variables?
1 comments

Those "scoped variables" are the difference. Mutable state adds a great deal of complexity.
And the style presented in the article uses vtables with "scoped variables". How do you conclude it's "not full object-orientation"?