2 ms·
The issue, at least as I understand it, isn't so much in the fact that code is being duplicated. Rather, the problems that I see are: - Having lots of utility
by harimau777 7y ago
The issue, at least as I understand it, isn't so much in the fact that code is being duplicated. Rather, the problems that I see are:
- Having lots of utility classes applied to the tags in HTML make it difficult to read. In particular, when it becomes necessary to split a tag onto multiple lines the HTML can become less effective at visually indicating how tags are nested.
- Including styling in HTML obscures the intent of the HTML. For example, is this div here because this is actually a new semantic section or just because we needed somewhere to put utility classes?