|
|
|
|
|
by izolate
4063 days ago
|
|
HTML is too slow. My web dev method is so streamlined at this stage, if I'm writing <tags> individually, I'm spending too much time on stupid shit that doesn't really interest me. Consider this takes me 45 seconds to write: <div class="container">
<div class="container__item" data-id="#{item.id}">
<h1 class="container__item__title">#{item.title}</h1>
</div>
</div>
Versus 15 seconds: .container
.container__item(data-id=item.id)
h1.container__item__title= item.title
|
|
For example, http://emmet.io/
The problem with your "15 seconds" example is that it is almost completely unreadable. .container? Ok, .container what? Is it a <p>? <div>? <span>? I think you're losing a lot more by trying to gain 30 seconds of time.