Hacker News new | ask | show | jobs
RSJS: Reasonable System for JavaScript Structure (ricostacruz.com)
2 points by flexterra 1148 days ago
1 comments

Neat attempt here.

I like a lot that they say "Use data attributes [not classes]", then the next rule is what to do if you don't agree, "if you do don't like attributes & prefer classes;" "Don't overload classes". Keep style classes & regular classes separate. Nice comprehensive thinking, & good advice either way.

Using meta tags for bootstrap is also a cool idea to stay declarative that I'd never considered before.