I use camel case which has the first letter of all variable names, functions, etc lowercased. But the class names are capitalized. Should I use:
class Foo
{
function foo()
{
}
}
or :
class Foo
{
function Foo()
{
}
}
Which is a better convention? I'm confused.