---
F R E N D Z of martian
---
I prefer bar()... it's far easier when you're debugging.
Andy.
At 22:49 03/09/99 +0100, you wrote:
>---
>F R E N D Z of martian
>---
>
>Coderz
>
>There are 2 main methods of using curly brackets in code:
>
>function foo(){
> //...
>}
>
>function bar()
>{
> //...
>}
>
>Which do you use? From code I look at on the net, it seems the foo()
version is
>almost universally preferred. On the other hand, I find that with the bar()
>version it is easier to find matching pairs of braces in heavily nested code
>than with the first.
>
>martian
>
>
>--
>Linux. May the source be with you.
>
>W4U - The World Wide Web Workers' Union - http://w4u.dhs.org/
> W4U archive at http://www.mail-archive.com/[email protected]/
>
>
>--
>Sent to you via the frendz list at marsbard.com
>
>The archive is at http://www.mail-archive.com/[email protected]/
>
>
--
Sent to you via the frendz list at marsbard.com
The archive is at http://www.mail-archive.com/[email protected]/