Nice read about oop (with historic citations from A.Kay f.e.)

I find the writer of that article undervalues what Joe Armstrong said (more complete citation from Armstrong’s text: Nice read about oop (with historic citations from A.Kay f.e.) .
This is a nice presentation from mpj who proposes not to use inheritance at all: https://www.youtube.com/watch?v=wfMtDGfHWpA . Another problem (besides inheritance & dependent use of patterns) I saw in OO code is the (over)use of dependency injection, introducing needless instance variables that cause coupling between object members (methods etc.): https://blog.ploeh.dk/2017/01/27/from-dependency-injection-to-dependency-rejection/
I found myself, following what Armstrong says, working towards a ports and adapters architecture https://blog.ploeh.dk/2016/03/18/functional-architecture-is-ports-and-adapters/ . I turned parent objects into helpers and send them to methods in parameter objects.

2 Likes