You would hate most of my code then. :) I use whitespace, especially in the below example, probably more often than your average programmer. Part of this is, when I was starting to code professionally, I was still in school. One of the interns we had wrote code this way and it helped lessen the steep learning curve (steep, as we were both newbies at the time) for learning the framework. Easier to see variables, blocks of logic, etc, if they were separated and indented evenly, etc.
Also, at a previous company with programmers who probably wish to remain nameless, it was VERY common for important variables to be 1 or 2 letters in size. I'm not talking about loop counters here - order ID numbers, customer ID numbers, and other system wide things of great importance. There was nothing I could do to convince the Architect this was a bad idea (he also used variable names such as 'KoolMoeDee", "eddieVanHalen" and "theQuery" all over the place...true stories), but I was able to get away with adding whitespace, to make my job _slightly_ easier. 2 cents. -nolan Nolan Erck Web Developer/Programmer Schools Financial Credit Union (916) 569-5409 Office (916) 569-2024 Fax www.schools.org -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of M@ Bourke Sent: Thursday, July 28, 2005 4:21 PM To: [email protected] Subject: Re: [CFCDev] WOT: CFML as XML I hate it with a passion, but I still code like it for everyone elses eyes. I dislike cfscript even more lol, but I still write constructors in cfscript. what I hate the most though is code like <cfset crap = "whatever"> instead of <cfset crap="whatever"> the space after or before the "=" is very anooying when it comes to doing searches in an IDE at work some devs write code like the first example which means if I'm searching the whole directory structure I have to search four times once for ""crap="whatever"" and once for "crap = "whatever"" and once for "crap= "whatever"" and once for "crap ="whatever"" I dislike white space greatly. I learnt to code in notepad so I never even used tabs lol, I'd simply wrote all code html tables and all so it was smack bang against the left of the screen :S how ever these days I use tabs for everyone else. M@ ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). CFCDev is supported by New Atlanta, makers of BlueDragon http://www.newatlanta.com/products/bluedragon/index.cfm An archive of the CFCDev list is available at www.mail-archive.com/[email protected] The information contained in this e-mail is confidential and may contain privileged information exempt from disclosure under applicable law. The information is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, employee, or agent responsible to deliver it to the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this e-mail in error, please delete the message from your computer and immediately notify the sender by telephone (you may call collect) at 916-569-5400 or by e-mail to [EMAIL PROTECTED] Thank you. ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). CFCDev is supported by New Atlanta, makers of BlueDragon http://www.newatlanta.com/products/bluedragon/index.cfm An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
