Yeah, I know that it's good practice. I want the IDE/CF to enforce it
actually. The problem I just had was on one of my cfc's , I returned a
struct named "rtn" and inside the function I had the statement <cfset
rnt.key_id = key_id>. If it was an enforced rule, that bug wouldn't
have been possible.
--
Marlon Moyer, Sr. Internet Developer
American Contractors Insurance Group
phone: 972.687.9445
fax: 972.687.0607
mailto:[EMAIL PROTECTED]
www.acig.com
> -----Original Message-----
> From: Lyons, Larry [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 06, 2004 2:53 PM
> To: CF-Community
> Subject: RE: Rant
>
> You do know that its always a good idea to declare your variables. I
> thought
> it was one of those proverbial good practices.
>
> larry
>
> > -----Original Message-----
> > From: Marlon Moyer [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, April 06, 2004 3:37 PM
> > To: CF-Community
> > Subject: Rant
> >
> >
> > Jeez, I just got bit by the "You don't have to declare
> > variables in Coldfusion" deal. I have a nasty habit of
> > transfixing letters in my variable names sometimes. I really
> > wish that there was a way you could make ColdFusion require
> > you to declare every variable. It seems like it would make
> > sense given they way they're heading with CFC's. Oh well. At
> > least it didn't take me too long to track this one down.
> >
> >
> >
> >
> >
> > --
> >
> > Marlon Moyer, Sr. Internet Developer
> >
> > American Contractors Insurance Group
> >
> > phone: 972.687.9445
> >
> > fax: 972.687.0607
> >
> mailto:[EMAIL PROTECTED]
>
> www.acig.com
>
>
>
>
>
>
>
>
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- Rant Marlon Moyer
- RE: Rant Lyons, Larry
- ATI's current CEO's Angel Stewart
- Farscape Mini Series in the works! Angel Stewart
- RE: ATI's current CEO's Marwan Saidi
- Marlon Moyer