4 ms·
You're missing the point. <?php if($condition){ ?> and just an <?php } ?> gets illegible and confusing very fast, even from 20 lines of HTML in betwee
by adamors 13y ago
You're missing the point.
<?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.
- code_duck 13y agoI disagree with you about which looks worse is more confusing.