Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

because it's nice to know whether that `post` variable contains a property `createdAt` or `published` At without leaving the template. Arguing "I don't use it why should you" is unproductive.


Agreed, you get all the benefits of type inference even in a template. It's a pain to debug template variables that don't exist, I've written enough Handlebars to know.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: