News for hackers. Stuff that matters.
Re:A modern responsive front-end framework based on Material... by ahallock on Friday April 24, 2015 @08:50AM (#9432954)
It doesn't violate DRY. The repetition of "collection" is indicating a descendent component:

https://github.com/suitcss/suit/blob/master/doc/naming-conve...

Re:A modern responsive front-end framework based on Material... by BinaryIdiot on Friday April 24, 2015 @10:23AM (#9433478)
HTML provides nesting. Nesting indicates it is a descendent component. This would violate DRY.
Re:A modern responsive front-end framework based on Material... by ahallock on Friday April 24, 2015 @11:43AM (#9434088)
LIs are generic containers--the only way to narrowly scope LIs is to use hierarchical selectors, which leads location dependency and specificity issues. The class name creates a scope and you need to apply that to decedent components to enforce the scope. It's DRY within the naming convention, which doesn't mix element selectors with class selectors (or at least rarely).
Re:A modern responsive front-end framework based on Material... by BinaryIdiot on Friday April 24, 2015 @12:12PM (#9434267)
> LIs are generic containers

LIs are actually kinda special. It's incredibly difficult to create your own LI in, say, web components because of their specialness (at least I've never seen it work in all browsers though there are probably some crazy hacks to get it there (or at least close enough)).

> which leads location dependency and specificity issues

You have a list of a specific type so you put a class on it. Why would that specific type of list now contain items that can be used in multiple places versus in that specific list and why would they ever be moved from that specific type of list? I don't really understand the issue you're trying to convey.