-
class method names and reserved words
Is it ok to use reserved words in class method names?
like...
class SomeName {
function SomeName() {}
function insert(...) {}
function delete(...) {}
function find(...) {}
}
Or something different? Any suggestions on naming the standard methods like inserting, updating, deleting, find, etc.
-
Which one of insert, delete and find is reserved?
No, it's not ok. List(), for example, would get you trouble.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks