DEV Community

Discussion on: DRY & the Wrong Abstraction

Collapse
 
adam_cyclones profile image
Adam Crockett πŸŒ€

I agree and have been pretending I'm in support of DRY all the time, I don't always think it's good to put all your eggs in one basket abstraction. When do you stop, is this overdone? Just more problems sometimes

Collapse
 
adam_cyclones profile image
Adam Crockett πŸŒ€

ECSS covers an interesting anti dry concept because it's more decoupled and easier to remove

Collapse
 
nickytonline profile image
Nick Taylor

What’s ECSS?

Thread Thread
 
adam_cyclones profile image
Adam Crockett πŸŒ€

It's a little known and a little old theory of how to work with CSS

It's also a book and a style guide.

ecss.benfrain.com/

Even if you don't use it, it's worth a read particularly the bits about DRY and the strength of duplication