Re: Which is better coding style...
| From: | Martín Marqués | Date: | Thu, 19 Apr 2001 14:43:24 +0000 |
| Subject: | Re: Which is better coding style... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-49419@lists.php.net to get a copy of this message | ||
On Jue 19 Abr 2001 23:35, Miles Thompson wrote:
> Amen! For both elimination of trailing {'s , and a good clear break.
>
> I don't know how trailing {'s came about, but I find the blocks are harder
> to follow. I consider them HIDDEN rather than trailing, but I cut my teeth
> on Pascal, and FoxPro. While we're at it, how about plain old carriage
> returns to terminate the line and elimination of the ";"?
>
> I still do a fair bit of work in Visual FoxPro, where the semi-colon
> indicates line continuation. Some days I introduce strange bugs when
> switching from PHP to VFP, and vice versa.
Well, first I would have to say tat there are a lot of other (better)
languages then Visual FoxPro out there!!!
Check C, C++ sintax.
And to finish, I think Visual FoxPro should change there definition of the
";".
Saludos... :-)
--
El mejor sistema operativo es aquel que te da de comer.
Cuida tu dieta.
-----------------------------------------------------------------
Martin Marques | mmarques@unl.edu.ar
Programador, Administrador | Centro de Telematica
Universidad Nacional
del Litoral
-----------------------------------------------------------------