---
F R E N D Z of martian
---
Quoting martian bard <[EMAIL PROTECTED]>:
>
> 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.
>
I use foo() because it's elegant and concise, and bounce on the '%' character in
vi to find matching parentheses. Still, everyone does it their own way - and if
you don't use vi then you have all sorts of other problems you need to deal with
first :)
Rich
----
"All exercise of authority corrupts -
All submission to authority degrades." (Bakunin)
e: [EMAIL PROTECTED]
t: +44 (0) 117 914 6217
--
Sent to you via the frendz list at marsbard.com
The archive is at http://www.mail-archive.com/[email protected]/