by code_duck · 13y ago · 0 comments
JavaScript uses curly braces. Any designer who knows anything about coding is going to have to learn JavaScript. How about one syntax?
<?php if($condition){ ?>
and just an <?php } ?>
gets illegible and confusing very fast, even from 20 lines of HTML in between. And that isn't even that much. endif, endfor, endforeach etc. are much more noticeable, plus every editor/IDE worth their salt will highlight it properly.