My pet hate is cfc METHODS with fn in front of the method name.

I admit to the occasional lapse with HN. We use it as a coding standard for a 
company I work for and it has bled into other projects for other clients but 
I'm working on it :-)

I spend so much time making my unit tests test method names read like English 
then lapse in my actual code and do things like bIsAdministrator ... DOH!

Alan



----- Original Message ----
From: Sammy Larbi <[EMAIL PROTECTED]>
To: [email protected]
Sent: Wednesday, September 17, 2008 5:21:12 PM
Subject: [CFCDEV] Re: Hungarian notation is for numpties - discuss!





On Wed, Sep 17, 2008 at 5:03 AM, Tara Mclean <[EMAIL PROTECTED]> wrote:


I will admit that I have questioned my self as to whether this is
needed since arPerson would do just fine. Do I need to know what the
array contains? And arPerson looks a bit neater.



What about dropping the "ar" too (is this Person a pirate?) and just call it 
"people." Plurals in variable names mean collections of variables, assuming 
there are some sanity-preserving conventions the writer is following. =)

In other words, I'm with Barney on that aspect.  

Sammy Larbi




      
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CFCDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfcdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to