logoalt Hacker News

dzjkbtoday at 3:12 PM3 repliesview on HN

here's a nice critique of SOLID principles:

https://www.tedinski.com/2019/04/02/solid-critique.html


Replies

newsofthedaytoday at 3:46 PM

They start by indicating people don't understand, “A module should have only one reason to change.”. Reading more of that article, it's clear the author doesn't understand much about software engineering and sounds more like a researcher who just graduated from putting together 2+2.

show 1 reply
gavmortoday at 4:37 PM

This doesn't seem to be a critique of the principles so much as a critique of their phrasing.

Even his "critique" of Demeter is, essentially, that it focuses on an inconsequential aspect of dysfunction—method chaining—which I consider to be just one sme that leads to the larger principle which—and we, apparently, both agree on this—is interface design.