NYCPHP Meetup

NYPHP.org

[nycphp-talk] About Human Readable Variable Names Moving Among PHP, HTML and MySQL

tedd tedd at sperling.com
Wed Sep 27 10:42:34 EDT 2006


At 10:03 AM -0400 9/27/06, edward potter wrote:
>so simple, so sweet!  :-) ed
>
>$firstname
>$lastname
>$address
>$city
>$state
>$zip
>$phone
>$fax
>$email
>
>spaces? ugly
>dashes? ugly
>underscores?  ugly
>camel?  weird!  :-)
>
>:-)

Camel?

Well... which of the following is the easiest to read?

gestaltfinderusesspecialopenfoldersfile

gestaltFinderUsesSpecialOpenFoldersFile

Just an example of Apple's constants -- and, there are longer ones.

tedd

-- 
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com



More information about the talk mailing list