[development] Coding standards question

Victor Kane victorkane at gmail.com
Sun Jun 7 07:38:09 UTC 2009


The other reason it's always best to include the ";" is that you can add
statements after it easily, and/or move that statement around without having
to worry about adding an ';'.

There is a similar question with the "," of the last array member.

Victor Kane
http://awebfactory.com.ar

On Sat, Jun 6, 2009 at 9:49 PM, Earnie Boyd <earnie at users.sourceforge.net>wrote:

> Quoting Pierre Rineau <pierre.rineau at makina-corpus.com>:
>
>  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.
>>
>>
> It might not always work depending on the order of statements and the order
> of included files.  Always include the ';' to end the statement is the best
> choice.
>
> --
> Earnie
> -- http://r-feed.com/           -- http://for-my-kids.com/
> -- http://www.4offer.biz/       -- http://give-me-an-offer.com/
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.drupal.org/pipermail/development/attachments/20090607/3f7ce040/attachment.htm>


More information about the development mailing list