[development] Coding standards question

Pierre Rineau pierre.rineau at makina-corpus.com
Sat Jun 6 21:23:26 UTC 2009


I usually write the ";", because I do a lot of development, and for me,
it has no sens to write an instruction without this to end it.

But, as without it works, do what you want. Some people may say that it
might be less readable, I just think this is more consistent to write it
down.

Pierre.

On Mon, 2009-06-01 at 16:34 -0700, Jennifer Hodgdon wrote:
> Comments are requested regarding coding standards in this issue:
>      http://drupal.org/node/358824
> Please comment there rather than replying to this email message, so we 
> can track opinions on the issue; I've sent this message to the Dev 
> list because the issue is in the Doc issue queue, and might not have 
> been noticed by developers.
> 
> For your reference, the question is on PHP coding style, primarily for 
> themes:
>     <?php print $foo; ?>
> vs.
>     <?php print $foo ?>
> (i.e. should one-liners have a trailing semi-colon?)
> 
> There's nothing in the coding style guidelines (for plugins or themes) 
> that currently addresses this question.
> 
> Thanks!
>      Jennifer (jhodgdon)
> 
> 



More information about the development mailing list