Hacker News new | ask | show | jobs
by marcosdumay 4022 days ago
> In that case, it's because code reusability becomes a pita and you bloat your JS.

Does it? Last time I had a bigish web project, I was starting to inline everything (CSS and Javascript), and had my backend language deal with DRY. It even solved the problem CSS people use CSS generators for. As a rule, both CSS and javascrit suck for organizing content.

But then, I declared that project dead, and didn't wait to see the consequences of organizing things this way. So, somebody may have a much clear understanding about why that's wrong.