Ok,
I am weird. When I am doing Perl, JS, CF or whatever I will do:
function thisFunc(foo){
return foo
}
However when writing Java I use the second method, because thats how
my teacher taught it.
Strange huh?
Tim
-----Original Message-----
From: Todd Ashworth [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 1:27 PM
To: CF-Community
Subject: Survey - Coding Style
I prefer:
Int foo(int bar) {
Return bar * bar;
}
>OK, so I have been arguing with another guy here about where to put the
>curly braces in your C/C++/C# application, I contend:
>
>Int foo(int bar){
> Return bar * bar;
>}
>
>He contends:
>
>Int foo(int bar)
>{
> return bar * bar;
>}
>
>Cast your votes now!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=5
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=5
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5