Skip to content

Ember comparison: Mention that Handelbars syntax is limited on purpose. #459

Closed
@LinusBorg

Description

@LinusBorg

Just had a discussion on reddit with an Ember guy, he mentioned the following:

Vue’s template syntax harnesses the full power of JavaScript expressions, while Handlebars’ expression and helper syntax is quite limited in comparison.

Handlebars helpers aren't intended to provide "the full power of JavaScript expressions", they're intended to provide a limited set of core functionality, which can be extended to work towards more specific helpers. Lauren Tan (Dockyard/Netflix) did an amazing talk recently on the flexibility and utility of handlebars helpers, and the benefits of this simplicity vs functionality. (I'd link it, but I can't find it on mobile. If you're interested it's called "I can write my app with no handlebars" and was at the Ember Camp 2016 in London a couple weeks ago.)

Seems like a fair point to mention.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions