[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LOGO-L> Numbers or Words?



Olga Tuzova wrote:
> 
> > Date:          Tue, 24 Jun 1997 00:46:14 -0400
> > From:          George Mills <mills@softronix.com>
> > To:            Olga Tuzova <olgatu@ort.spb.ru>
> > Cc:            logo-l@gsn.org
> > Subject:       Re: LOGO-L> Inverting Numbers
> > Reply-to:      George Mills <mills@softronix.com>
> 
> > Olga Tuzova wrote:
> 
> >> The following lines works wonderfully:
> > > make "a "1
> > > make "b 2
> > > show :a+:b
> > > And you'll get 3!
> > >
> >
> 
> > The above code you listed should generate a bug because you usually do
> > not want to mix datatypes unless you explicity tell it you want to. It's
> > helping you to stay out of trouble. For example the code you wrote
> > above in many lauguages would give the ascii value of 1 plus 2 and the
> > answer would be "c :-). Which is correct 3 or "c. Pascal does not allow
> > you to be ambiguous, it's "Strict".
> 
> ... And I prefer to deal with a number as a number.

But that's the point "1 is NOT a number. It's a character or word
in my book.

Don't get me wrong, logo is very cool, very powerful and fun
and yes you can code up in a couples lines in what might take
pages of code in Pascal/C.

But at a huge cost in performance and allowing you to write
code that can sometimes be dangerous. Although you can do some
truely nifty things in C++.

How many commercial systems do you see written in Logo?

-- 
===============================================================
George Mills (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