Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

Negative.

The only part of SOLID that is perhaps OO-only is Liskov Substitution.

L is still a good idea, but without object-inheritance, there's less chance of shooting yourself in the foot.



I go by a philosophy that Liskov Substitution is reeeally about referential transparency. I don't care about parent/child classes, I care about interfaces and implementations, and structural subtyping. Fix that, and it's great.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: