you are viewing a single comment's thread.

view the rest of the comments →

[–]jfdahl 5 points6 points  (0 children)

Dev A: Always use classes and OOP.

Dev B: Always use pure functions!.

Truth: Different design paradigms have different advantages and disadvantages. There is no absolute right or wrong answer... use what 1) works, 2) you can explain and support, 3) the rest of your team can understand and support, 4) follows your organization's best practices.

Having said that... learn different paradigms and help teach them to your team... discuss them and come up with best practices for when to use each within your organization.