News for hackers. Stuff that matters.
Re:Notes from an Interviewer by jupp0r on Saturday February 24, 2024 @01:29PM (#39493900)
Your comment is involuntarily funny in the sense that 1999 style OOP Java is a serial offender of SOLID, not a prime example of it. It's mainly the Liskov Substitution and dependency inversion principles. If you have deep class inheritance hierarchies, you are not doing SOLID, sorry.
Re:Notes from an Interviewer by t8sr on Saturday February 24, 2024 @03:56PM (#39495090)
I’m not sure I agree encouraging inversion of control, more indirection and behavior inheritance is an improvement. In the recommended style of most languages, these are probably big anti-patterns.

On the other hand, I never spent that much time working on old Java stuff, so maybe it is a step in the right direction.

Re:Notes from an Interviewer by jupp0r on Saturday February 24, 2024 @06:21PM (#39496055)
Any time you inherit from a concrete class (vs just implement an interface) you depend on something concrete and not an abstraction.