On Sep 27, 2006, at 9:26 AM, Vince Teachout wrote:
For me, it's tryiing to wrap my head around lists, dictionaries and
splitting.
Do you grok a VFP cursor? Each record is a set of values identified
by column name, right? And a cursor is nothing more that a zero-to-
many collection of such records.
A dictionary is a set of values identified by key name - exactly the
same as a record. And a list is just like an Fox array; if the
elements in that list happen to be dictionaries with the same
structures... well, then you have yourself a VFP cursor!
That, and lack of time, are the main reasons I haven't spent more
time with it yet.
Time is indeed a limiting factor on learning any new language
Also, there's so many choices of libraries that it's a bit daunting.
Actually, if you think about it, it makes things simpler. You don't
need to use any of those things if you don't need them. The core of
the language is free of all those largely unneeded extras. However,
when you *do* need them, you just add an 'import' statement, and you
have all of the power of that module available to you.
Contrast that with VFP, where everything is in the same namespace.
When was the last time you used @SAY/GET code? How about all those
DDE* commands? Or all the Macintosh-specific commands? Wouldn't it
make more sense to factor that stuff out into separate modules, and
only use them when they are needed? Instead, you have all that junk
floating around in the core of the language.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.