---- Original Message -----
From: "Douglas Brown" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, August 15, 2002 1:00 AM
Subject: Re: Best Practices


> >Somebody brought up previously that there shouldn't be a central 'best
> >practices' document, as it may be intimidating to beginners (if i
understood
> >correctly).  I can see that...
>
> I really cannot see that. If a person is taught "The best practice" to
begin
> with, then he has nothing to fear. Following general rule of thumb is a
good
> thing when coding is at use, and learning it right way the first time
through
> is by far better than trying to teach an old bad coding dog a new trick or
> two.

Playing devil's advocate here (somewhat), since I agree that teaching
'right' from the start isn't the worst thing that can happen...one of CF's
biggest strenghts is that it allows 'non-programmers' to rapidly deploy
powerful web-based applications.  While that may be a double-edged sword at
times, it's important to remember.  To a newbie, <cfif myStringVar is ""> is
much easier to comprehend than <cfif len(trim(myStringVar))>.

Being somebody who is working with two very very very newbies, I think it
would definitely be easier to teach them the simple comparison, versus
explaining two functions and the concept of a boolean true/false.

So while I do agree that teaching the 'right' way is better than having to
unteach a 'wrong' way...remember that a big reason CF is as popular as it is
is due to the fact that its learning curve is the bunny hill.

charlie


______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to