Solid is not so solid
solid-is-not-solid.com·1w·
Discuss: Hacker News
🔧Code Refactoring Patterns
Preview
Report Post

As a set of object-oriented programming design principles, SOLID is pretty lacking.

Did you know that…

  • the Single Responsibility Principle doesn’t clearly define "responsibility" so most developers just keep de-coupling until the end of their sprint?
  • the Open/Closed Principle says you can’t change source code, so thus your only alternative is to use a mess of inheritance and abstract classes to make stuff flexible in advance?
  • Barbara Liskov didn’t have anything to do with the Liskov Substitution Principle and that the principle amounts to "inheritance is a thing"?
  • the Interface Segregation Principle is essentially functional programming feature envy by Java developers?
  • all that XML developers wrote in the 2000’s was because of the **Dependency Inversi…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help