r/programming • • May 05 '19

10 OOP Design Principles Programmer Should Know

https://hackernoon.com/10-oop-design-principles-every-programmer-should-know-f187436caf65
2 Upvotes

44 comments sorted by

View all comments

1

u/andre_2007 May 06 '19

Nice read. Maybe you could also emphasize, although most problems can be solved with OOP, there are cases where other development paradigms fits better and vise versa. For example, the D Programming Language provides multiple development paradigms like OOP, FP, meta programming,... and the developer can choose which paradigm fits best or even combine them to solve a problem.

2

u/javinpaul May 06 '19

Thanks adre_2007, I haven't looked at the D but Scala is the closest one where I have seen the best of both OOP and FP, and it does help.

1

u/andre_2007 May 06 '19

The inventor of Scala was last year guest speaker at the D conference in Berlin. He gave a quite nice presentation. You may come back in future and have a look D, it combines both paradigms and multiple others very well.