'Twas brillig, and David Harkness at 28/01/11 18:41 did gyre and gimble:
> On Fri, Jan 28, 2011 at 10:35 AM, Mujtaba Arshad <mujtab...@gmail.com>wrote:
> 
>> Having learned java before even knowing what php was (yeah I'm a noob in
>> both) I prefer scope static function.
> 
> 
> I learned Java first, too, and also prefer the scope first. I place a scope
> on every method, so I'd rather the first word always be the scope rather
> than sometimes scope, sometimes static. I also think of it as a "static
> function" that happens to be "public." Finally, I prefer to group static
> members at the top of the class to differentiate them as a separate API for
> the class itself.

Well that wasn't even vaguely controversial! Was hoping that some people
would have some more "creative" reasoning for both sides!

Ahh well, this all ties in with my view, so I'm not really complaining :D

Cheers for the insights.

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mageia Contributor [http://www.mageia.org/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to