I'm not sure you could actually make an argument one way or another. Like
most tools, they're better than the other depending on the situation. To say
that one is "real" is to assume the other is "fake"... and everyone knows
thats not the case.

Kevin

-----Original Message-----
From: Rebecca Wells [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 24, 2005 3:30 PM
To: CF-Talk
Subject: Structures vs. "Real Structures"


This reminds me of something that my boss and I argued about... I said that
query recordsets and forms are structures, and he said that it's not the
same kind of structure as a struct(), that the structure function is better
because it's indexed and that the query and forms are not "real structures".
Which is true?


>> There are generally two reasons for something like that:
>>
>> 1) The code is very old - we've still got code from CF 2.0
>> around and it's pretty damn nasty.  ;^) A lot of the stuff
>> we take for granted (structs, scopes as structs, even arrays)
>> didn't exist in earlier versions of the language.
>
>In this case, I don't think that's an excuse, since CF has had
>FORM.FIELDNAMES since CF 2.0, at least. That's what it was there for - to
>let you get a list of the form fields so you could process them. Now, of
>course, we have the Form scope exposed as a structure, which is nicer, but
>the required functionality for generalized form handlers has been there all
>the time.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207597
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to