Re:Inheritance was invented as a performance hack
by kragen on Thursday May 08, 2025 @02:59PM
(#43930004)
Very interesting work! It is an attempt to extract the interfaces that were in the minds of the implementors of the Smalltalk-80 system's collection classes, but which couldn't be expressed in the language itself, because it has no interface construct. That's what I meant by "Languages like Smalltalk (...) don't have interfaces at all."
[ Parent
| on HN ]
Re:Inheritance was invented as a performance hack
by igouy on Friday May 09, 2025 @11:49AM
(#43938170)
Don't have manifest types and don't have manifest interfaces.
Someone has already referenced "Adding Dynamic Interfaces to Smalltalk" [0] and looking back there doesn't seem to be any kind of demonstration that use of interfaces makes software faster to develop or less error prone or... [1]
[0] https://www.jot.fm/issues/issue_2002_05/article1/
[1] https://www.cs.utexas.edu/~wcook/papers/OOPSLA89/interfaces.pdf
Re:Inheritance was invented as a performance hack
by kragen on Friday May 09, 2025 @08:34PM
(#43942257)
Unfortunately, in general, there is not much convincing proof that one way of developing software is better than another in such ways.
Re:Inheritance was invented as a performance hack
by igouy on Tuesday May 13, 2025 @01:57PM
(#43975779)
And even if there were:
"We are not finders of fact. We are tellers of story.
You base the story on the evidence, no?
No! We base the evidence on the story. We prove what helps us, and we disprove what hurts us. Whoever tells the best story goes home with the cash-in prizes."
(The Good Fight, season 3 episode 2. 30 - 31 minutes. CBS All Access 2019.)