News for hackers. Stuff that matters.
Re:An Interview with A. Stepanov (2000) by chenglou on Saturday January 02, 2016 @02:03PM (#10827376)
> I find OOP technically unsound. It attempts to decompose the world in terms of interfaces that vary on a single type. To deal with the real problems you need multi sorted algebras - families of interfaces that span multiple types.

Can someone explain what this means?

Re:An Interview with A. Stepanov (2000) by omaranto on Saturday January 02, 2016 @03:32PM (#10827767)
I think he's saying that most OOP languages have single dispatch, while multiple dispatch is more like the real world.

https://en.wikipedia.org/wiki/Multiple_dispatch

Re:An Interview with A. Stepanov (2000) by pkd on Sunday January 03, 2016 @12:10PM (#10831284)
Re:An Interview with A. Stepanov (2000) by _pmf_ on Saturday January 02, 2016 @02:42PM (#10827561)
I think the first interpretation is that he thinks a language should have either traits, multiple inheritance (of implementation) or mixins.

The second interpretation would be that a language should have algebraic data types.

Re:An Interview with A. Stepanov (2000) by skwosh on Saturday January 02, 2016 @02:47PM (#10827580)
My guess is that in OO you are typically only parameterising `this`, and therefore only talking about one facet of the domain. Family polymorphism (or virtual classes) provide a way around this...