Welcome Guest, Not a member yet? Register   Sign In
Adherence To CI Style Guide
#2

[eluser]Nick Husher[/eluser]
Short tags are infinitely more readable than full PHP tags. For example:

Code:
<?=$this_is_readable ?>
<?php echo $this_is_not; ?>

If you're using third-party templating system (Smarty, for instance), long tags are fine. But then you're committing the cardinal sin of programming, which is reinventing the wheel. PHP is a templating system. Or it was, until someone decided to make it an application platform and started getting all down on the short tag syntax.


Messages In This Thread
Adherence To CI Style Guide - by El Forum - 12-06-2008, 12:43 PM
Adherence To CI Style Guide - by El Forum - 12-06-2008, 05:11 PM
Adherence To CI Style Guide - by El Forum - 12-06-2008, 07:05 PM
Adherence To CI Style Guide - by El Forum - 12-06-2008, 10:17 PM
Adherence To CI Style Guide - by El Forum - 12-10-2008, 11:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB