Hi,

> What do you use for your naming conventions for
> variables
> functions
> classes
> 
> I'm trying to tell my students what the standard is currently. Are people
> using camel case or underscores or both?

        I'm not sure there is a "standard" for naming things.  Here's how I
do it...

        classes:  CHelloWorld { ... }
        function: helloWorld() { .... }
        vars: hello_world

I guess I tend to stick to the camel style for function or class naming,
then use underscores in vars.  I also put a C before each class name.  There
is Hungarian notation that a lot of developers like to use.  You could
google that.

-Dan Joseph

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

Reply via email to