note 48515 deleted from language.oop by tularis
| From: | tularis@php.net | Date: | Tue, 28 Dec 2004 09:16:49 +0000 |
| Subject: | note 48515 deleted from language.oop by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-82390@lists.php.net to get a copy of this message | ||
Note Submitter: CopyNinja
----
You should ALWAYS use OOP-based names for your classes.
People that uses a class named "foo" is doing it the wrong way.
---
Wrong way to do it:
# class foobar { ... } // Very bad!
# class foo_bar { ... } // A bit better, but not OK!
# class fooBar { ... } // Getting better, but still, NO!
You should name your classes like this:
# class FooBar { ... } // YEAH! Now you get it ;-)
----
Reason: bad code