"Learning to Like the VAR Keyword"

http://www.markme.com/cantrell/archives/002918.cfm

Christian

On Feb 10, 2004, at 11:30 PM, Roland Collins wrote:

In the case of an "un-typed" language (or pseudo-typed as CF tends to be),
you are correct. I was speaking more from a conceptual standpoint . . .
I've generally found it better to declare variables up front, even in
languages that support late-binding or just-in-time declaration. Underneath
the hood, I doubt it really matters today, with most compilers performing
the same optimizations regardless of where you put your declarations. It
does however enforce a discipline to coding that I believe provides a
benefit in terms of code clarity, and it forces developers to think through
a function from start to finish instead of the "code as you go" method of
programming.

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email.


CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to