3 ms·
Having never used Mako the appeal to me over Jinja is that it allows you to use real control structures. Jinja is a bit of a pain to debug and develop because i
by memco 5y ago
Having never used Mako the appeal to me over Jinja is that it allows you to use real control structures. Jinja is a bit of a pain to debug and develop because it does some things slightly differently than you'd do in native Python so even though I can setup breakpoints and evaluate the application state I can't easily convert the code changes I make in the debugger back to the template. I get that there are reasons why Jinja and other templating systems guard against this, but it does have a cost.
- jxramos 5y agocan you detail the idea about real control structures, are you talking about if and elif and else clauses? Is there something partial about jinja's control structures? https://jinja.palletsprojects.com/en/3.0.x/templates/#list-of-control-structures https://jinja.palletsprojects.com/en/3.0.x/templates/#list-o...