Hacker News new | ask | show | jobs
by bramgg 4064 days ago
> 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.

1 comments

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