Most C++ programmers don't think of an array as "Fixed" length anymore. Later in Chucks message he asked about "dynamic" arrays. You pay a performance penalty for this luxury, but not as steep a penalty as you do for Logo lists. And much like butfirst, butitem etc. there are some pretty common classes for doing common operations. Then it boils down to the typeless aspect of a Logo list. The Microsoft MFC class CList and CArray are typeless. They can contain anything as long as they are derived from CObject. Then it boils down to the fact that Logo Lists are what procedure definitions are kept in (which is not taken advantage that often particularly young students). There are many other aspects to Logo that also use lists which give it very consistent model to work with. Once you've learned the basics of lists in Logo you've learned 3/4's of the language. They also tend to work hand in hand with recursive solutions. I like the fact UCBLogo/MSWLogo has arrays. How about adding a hook to make them dynamic (probably not that hard) :-) Brian Harvey wrote: > > > What is the difference between a list and an array? > > There are two ways to answer this question: technical and psychological. > Let me start with the technical answer. > -- =============================================================== George Mills email: mills@softronix.com http://www.softronix.com The www page contains some very powerful educational software. Our single most important investment is our kids. --------------------------------------------------------------- Please post messages to the Logo forum to logo-l@gsn.org. Mail questions about the list administration to logofdn@gsn.org. To unsubscribe send unsubscribe logo-l to majordomo@gsn.org.
Global SchoolNet Foundation -
Linking Kids Around the World!
Copyright GSN - All Rights Reserved
- Comments
& Questions
Visit GSN's
Global
Schoolhouse for more exciting learning resources!
Search our Site
-
Home