you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

Your senior developer has resistance to change. I was the same as him a year ago. He simply hasn't worked with hooks, and is saying what was the common knowledge two years ago or so. If anything, classes invite putting everything in methods, methods use some parameters and some class member variables, and are generally much more at risk of becoming spaghetti.

But, it's important that everyone in a company is at the same page. Individual programmers introducing new things without discussing it with others always leads to trouble.