Hello,
I am willing to know which formatting method we should use in code for
function declarations. Actually I see two shemes:
1)
function foobarone() {
code here
}
2)
function foobartwo()
{
code here
}
The reason I am asking for this, is that my code editor (anjuta) add a
little + sign in front of functions and clicking it will remove all of
the code between {} and show an horizontal bar instead. That looks like:
function foobarone() {
-----------------------------------
function foobartwo ()
{
-----------------------------------
So sheme #1 save one line :o)
That's really minor, but before I start changing all functions
declaration to one sheme or the other I would like to get your feedback :)
--
Ashar Voultoiz
[[fr:Utilisateur:Hashar]]