I disagree that the way is &quot;worse&quot;.<p>I like that in templates, string handling is _enforced_ to be different. For example, when you manipulate strings in template, you can be reasonably sure all output is escaped, unless you specify otherwise in a very few precise cases with explicit syntax.<p>A good template language allows you to create&#x2F;limit available tools&#x2F;helpers for your particular project. That is especially important in larger projects and larger teams, where everyone is not immediately expected to know intended good practice to follow. Creating DSL in template _is_ a way of documenting intended good practice.<p>A good template language does not pretend not to be turing-complete: instead, it provides comprehensive error handling and error messages, so that users know exactly where some error or type occurred.<p>One more reason to use the language is because it is a language. If someone used something like Django, the Twig will be quite familiar and easy to pick up.<p>Template engine can optimize-away, pre-compile things, just like languages do.<p>With separate template language you don&#x27;t need to recompile whole build if you change a template (presuming hosting language is compiling to binary and template engine is interpreted).<p>Full disclosure: I am currently rewriting Twig in another language, and believe it&#x27;s completely worth the effort.