You are here: Re: Coding style... « All PHP « IT news, forums, messages
Re: Coding style...

Posted by Sean on 01/03/06 14:46

> Nothing is wrong with it :) In fact, that'd be preferred :)

This is the preferred way for most to write a control structure.

if (condition) {
statement
} else {
statement
}

This is done to distinguish a control structure from a function call
which should be written like.

public foo ()
{
statement
}

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация