DEV Community

Discussion on: VueJS is dead, long live VueJS!

Collapse
 
rickmacgillis profile image
Rick Mac Gillis

Clean code is crucial to software engineering of any kind. Without it it makes maintenance a nightmare.

Don't get me wrong, I'm all for encapsulation in part BECAUSE of that reason, but using mixins to keep code in a different file sounds like a better compromise. The trade off is that mixins are like traits, but (AFAIK) they don't have the ability to rename their methods on import. So, they pollute the class with the extra methods instead of using their own class.

Unless VueJS 3 provides considerable value, or they deprecate VueJS 2 far too early, then people aren't going to migrate, even for new projects.