> That’s a lot of code to write for an auto-incrementing counter.
Is it though?
I mean I happily write more code for a single-page Vue component for something like this.
Terseness is not always a virtue.
Is it though?
I mean I happily write more code for a single-page Vue component for something like this.
Terseness is not always a virtue.
This is a subjective thing, right? Personally, I hate boilerplate: either it's a distraction because it's boring and superfluous, or worse it's long and it's wrong. Regardless, it adds to the cognitive load when maintaining code.
There are several terse syntaxes I really like. I'm just not convinced it's a virtue in this context.