3 ms·
This may be an ignorant question, but why not use the <% %> syntax popularized by ERB instead of { } for view bindings?
by mattangriffel 12y ago
This may be an ignorant question, but why not use the <% %> syntax popularized by ERB instead of { } for view bindings?
- vidarh 12y agoHandlebars/Mustache syntax is also widely used. And <% %> might very well confuse people into thinking the contents is raw code, as opposed to handlebar-style directives. (Handlebars/Mustache restrict what actions you can take on view data substantially - you have to explicitly expose functionality in most implementations)