Skip to content

Comment on Volt: A Ruby web framework where your Ruby runs on both server and client

Comments

This may be an ignorant question, but why not use the <% %> syntax popularized by ERB instead of { } for view bindings?

Handlebars/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)

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.