News for hackers. Stuff that matters.
Re:Show HN: Polly: A templating language for Rust by Aaronepower on Wednesday February 24, 2016 @05:35AM (#11165752)
Well components, are purely static. They are the equivalent of text expansion, or string interpolation.

A Function's logic, isn't defined in Polly. You have to define it in Rust. This moves all the logic to your Rust server, where your logic should be. It also provides the advantage of being compiled, and optimised with the program, rather than if Polly defined it's own syntax for functions, and logic, and trying to parse that out at run-time.

There are no comments on this comment yet.