4 ms·
That is what I like the most in Vuejs : you have the choice.
by nkg 9y ago
That is what I like the most in Vuejs : you have the choice.
- kiliancs 9y agoThis might not apply to the case here, where are talking about code style, but I find that in programming it is often good not to have a choice. More options means more decisions, more decisions means more complexity involved in completing a task, and it means more questions the next person reading or maintaining the code will have.
- nkg 9y agoThere are clear patterns in Vue that encourage you to put your filters, methods and every other piece in its place, but at the same time, depending on your deadline you can choose not to create a single-file component for every <li> and just use a <template> tag. I like that! I understand your point, though.