Do you use object-oriented methods when writing business? I feel that unless you are writing a plug-in or a particularly obvious module that can use these, it seems that they are basically not used in regular business. Complex business is relatively thin and cannot be completely abstracted together. Since I started using mvvm, I feel like I don’t need to use it anymore, but the kind-hearted back-end staff keeps reminding me to do it, but I don’t feel that it’s easy to write. Maybe I’m not used to that kind of writing and thinking. Please give me some advice~
In fact, es6 classes can also be used