:)
Really I think most of agree that its a personal preference if you learned one way then you going to be the most comfortable in using that style. I am very used to C style coding and therefore am more comfortable using that.
From: Kevin Bruce <[EMAIL PROTECTED]> To: PHP-General <[EMAIL PROTECTED]> Subject: Re: [PHP] PHP Editor - which to use? Date: Wed, 24 Sep 2003 10:34:33 -0400
FYI- New to this list but have been a php coder for 2 years.
I know a lot of you out there are going to groan inwardly, but I use
Dreamweaver, mainly because that's what I used since it's inception when I
was writing static sites. I use OSX for my writing platform and occasionally
use BBedit as well. If someone could point out a better PHP editor for the
Mac, please speak up:) BTW- Dreamweaver has pretty decent PHP highlighting.
I started out as a pure designer but got into the web and have since been a moderate code writer, so cut me some slack if my methods are not standard;)
Whether or not it is proper form, I use the following format:
if($conditional) { some code; } else { if($subconditional) { subsome code; } else { subsome alternate code; } }
------------------- iChat screen name- mdsgkevin
> * Thus wrote Robert Cummings ([EMAIL PROTECTED]): >> *COUGH* *COUGH* EVERY REAL coder knows that you have to use the >> following brace style for your code to be accepted into the l33t >> hierarchy of [EMAIL PROTECTED]: >> >> if( $pos_params != false ) >> { >> $back_url = substr( $HTTP_GET_VARS['origin'], 0, $pos_params ); >> >> $back_url_params = >> substr( $HTTP_GET_VARS['origin'], $pos_params + 1 ); >> } >> else >> { >> $back_url = $HTTP_GET_VARS['origin']; >> $back_url_params = ''; >> } > > cat | realprogrammer > > if( $pos_params != false ) { > > $back_url = substr( $HTTP_GET_VARS['origin'], 0, $pos_params ); > $back_url_params = > substr( $HTTP_GET_VARS['origin'], $pos_params + 1 ); > > } else { > > $back_url = $HTTP_GET_VARS['origin']; > $back_url_params = ''; > > } > > cat | realprogrammer | in_a_rush > > if($p) { > $bu = substr( $_GET['o'], 0, $p ); > $bup = substr( $_GET['o'], ++$p ); > } else { > $bu = $_GET['o']; > $bup = ''; > } > > :) > > Curt
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php