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

The problem is that the "OO paradigms and best practices" are not formally defined, so the program that would enforce them on you cannot be written. OOP was unfortunately never defined formally enough to be amenable to this approach. (For example there are different interpretations of Liskov substitution principle.)

There are strongly-typed functional languages that are based on a consistent formal foundation, like Haskell, so you can look into these. But there are still some "escape hatches", because sometimes you just need them.



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

Search: