Re: Indentation in mysql examples

From: Date: Fri, 03 May 2002 06:13:09 +0000
Subject: Re: Indentation in mysql examples
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969345201@lists.php.net to get a copy of this message
On Friday, 3. May 2002 08:25, derick@php.net wrote: > Oh, btw, it sais "3. The contents of examples with programlistings start > on column 0 in the XML code." IMO <?php is also code, and just like { or } > and thus need indentation, but that is my opinion. ANyway, I think > indenting everything with four spaces adds a lot to readbility in code, as > your left margin is usually the most left pixel of your screen. > > Derick +1 Its easier to read, when the lines between <?php and ?> are indented. It could be only a problem, when the lines are too long. Some weeks before I made a workaround, but didn't changed the complete identation (only these examples, which are wrong or had to be corrected). Georg

« previous php.doc (#969345201) next »