TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Thoughts on Atom Building in the Pattern Library

10 pointsby andygrunwaldalmost 9 years ago

1 comment

olavalmost 9 years ago
Two thoughts:<p>(1) Much of the complexity of the OP&#x27;s example is due to the fact that the template language they use, Twig, does not abstract HTML. If they would use a higher level templating language, e.g. Jade (<a href="http:&#x2F;&#x2F;jade-lang.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;jade-lang.com&#x2F;</a>) much of the need to have such things as his proton pattern, would not even arise. Another attempt at a living styleguide generator, <a href="http:&#x2F;&#x2F;bedrock.mono.company&#x2F;" rel="nofollow">http:&#x2F;&#x2F;bedrock.mono.company&#x2F;</a> does just that.<p>(2) The very necessity to discuss atom vs. molecule makes me think that maybe the distinction is not such a good idea after all. Harry Roberts in his ITCSS has just &quot;components&quot; <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=1OKZOV-iLj4" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=1OKZOV-iLj4</a> . The other layer that Harry has, &quot;objects&quot;, is subsumed under &quot;atoms&quot;. This leads to another round of fruitless discussions.