Hmm.. shot down on that one :P I've just got used to prefixing after being forced to do it and I think it's fantastic. and once you get used to it it definately does not make things harder to read, many times easier in fact. Having said that whilst we're talking naming conventions we have an interesting variation on the dsp_ etc. convention is we label every file in that way EXCEPT display files. (mod_ blah for a module, act_ for an action etc.) but we have started to leave the prefix off displays so it looks nice in the URL. Not a suggestion, just 'what we do'
- James -----Original Message----- From: Taco Fleur [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 7:08 AM To: CFAussie Mailing List Subject: [cfaussie] Re: Methodology > My thoughts on Hungarian-style naming conventions are well-known: I > despise them! :) > > Why? Because they clutter up the code, making it hard to read (code > should be readable just like English prose, in my opinion) > and, worse, > they expose underlying implementation details which can create > maintenance problems (because if you ever change a type you have to > edit every reference to the variable in your code). I am the same, I think its useless, that's why I don't use it. On the other-hand though, I do like to prefix a few variables like Cursors, Lists and a *few* others, but I like to prefix anything else that's not a variable, documents that contain forms for example frm_, display files (left from fusebox) dsp_, etc. etc. --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004 --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
