News for hackers. Stuff that matters.
Re:Notes from an Interviewer by coldtea on Saturday February 24, 2024 @05:24PM (#39495675)
>The SOLID principles are a specific application of computer science principles to OO.

There's little to no hard science and serious research behind them, aside from Uncle Bob writing about them and some hazy papers.

The Liskov substitution principle was developed by an actual computer scientist working on such research, but the general field of programming methodology Liskov worked in remains scientifically something like what psychology was before Freud.

Not saying Freud is scientific - saying that programming methodology is even less well established and researched scientifically in 2024 that psychology was not just at the time of Freud, but even before Freud.

Dijkstra himself, in many of his notes regarding methodology, was basically 90% opinion, even when he was right.

Re:Notes from an Interviewer by nyrikki on Saturday February 24, 2024 @06:22PM (#39496066)
Here is a metastudy that will show that complexity, coupling and size were found to be strongly related to fault proneness.

https://arxiv.org/abs/1601.01447

There is lots of studies that show that modularity is one of the most significant factors for evaluating maintainability of OO systems.