In reply to Mike Schinkel.

Your KSES stripping out my ordered list! Here it is again:

Debugging Mustache is like flying in the cargo hold vs. debugging PHP with PhpStorm or VSCode is like flying first class.

2. When using Mustache — which is admittedly worse that using templates that support logic — you have to populate an array of arrays and stdClass objects for damn near every permutation you can imagine, and it ends up being a maintenance nightmare.

3. Third, and admittedly by far the least important in most cases is performance. Using templating can be slower than just doing it in PHP, unless the templating system has a compile to PHP option and you can implement a build process into your workflow.