Hacker News new | ask | show | jobs
by hacym 4063 days ago
If you are hand typing each and every one of those characters by hand you're doing it wrong. There are a lot of projects out there aimed at making writing HTML faster.

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.

1 comments

> The problem with your "15 seconds" example is that it is almost completely unreadable. .container? Ok, .container what? Is it a <p>? <div>? <span>?

It takes 2 seconds to learn and forever on know that Jade defaults non-specified tags to divs.

For me Jade is faster to both write and read.

Sorry, but my, and most people's, thoughts, is that code should be easy to read and understand what's going on. Jade does not do that. It might take "two seconds" to learn, that's extra time that you're wasting going and looking it up. It's much simpler to just write <div class="container">, that way everyone who knows HTML and looks at your code will know what's going on. Jade is bucking a standard for no real added benefit.
i totally agree with you