🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rec.games.programmer
Article #2396

Re: What language for kids to write baseball program?

#2396
From: David Lee Matuszek
Date: Fri, 23 Oct 1992 15:36
53 lines
3947 bytes
In article <1992Oct16.173051.6062@Princeton.EDU> bdavis@phoenix.Princeton.EDU (William Davis) writes:
>Hi,
>
>My 10-year old and a friend want to write a computer game dealing with
>baseball, for a special school project.  They are bright and patient,
>but have no computer experience (Dad does, and is willing to tutor).
>Any ideas on what language or tools they (I) might investigate using?
>We have a Mac and the school has Apple IIe's, so it would be ideal if
>the language/tools were available on both platforms.

The only language I know that runs on both machines is Pascal.  UCSD
Pascal is a very good implementation on the Apple, THINK Pascal is a
superlative implementation on the Mac.  For the most part the
languages are compatible, but you will run into some differences in
string manipulation.  Your choices are to either (1) treat strings as
arrays of characters, which is workable but awkward, and is fully
machine-independent, or (2) learn both sets of string operations and
be prepared to convert between them as necessary.

However, the kids will get a lot further and have a lot more fun using
HyperCard.  They will have to know a lot to write even a simple
program in Pascal, and the gap between the written program and the
results of running it are quite large.  They can do more with less in
HyperCard, the effect of doing something easy can usually be seen
immediately, and they get a nice interface for free.  The problem, of
course, is that HyperCard doesn't run on an Apple IIe, so you have to
make some arrangements with the school to show them the program on
your Mac.

I notice that a couple of people have suggested BASIC.  One person
even went so far as to say that anyone who did not consider BASIC a
reasonable choice would "loose" his respect.  As for me, I don't mind
if I lose his respect -- heck, it's mutual.  BASIC is a primitive
language that will teach your kids bad habits; I certainly wouldn't
pay money to inflict it on them.  Even disregarding the quality of the
language itself, Apple BASIC is the worst *implementation* of any
programming language I have ever seen, anywhere; it certainly won't be
compatible with a version you might buy for the Mac.  (I've used it,
and other BASICs; this isn't secondhand opinion, but direct experience.)

[BASIC apologists -- please don't waste bandwidth by starting a
religious war here.  If you want to flame, please e-mail me directly.
Or you can eliminate the middleman and post your flames directly to
/dev/null.]

Hope this helps.

  --dave

-- 
--------------------------------------------------------------------------
TRUE or FALSE:  If you don't vote for the winner, you've wasted your vote.
--------------------------------------------------------------------------
Technical Details
Message-ID: <1992Oct23.153634.21733@gvl.unisys.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!zeus.ieee.org!sdd.hp.com!zaphod.mps.ohio-state.edu!darwin.sura.net!udel!gvls1!dave
References: <1992Oct16.173051.6062@Princeton.EDU>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fe306,62bd15aeb9a8dbfc
X-Google-Attributes: gidfe306,public
X-Google-Thread: 107f5a,62bd15aeb9a8dbfc
X-Google-Attributes: gid107f5a,public
X-Google-Thread: 1040c9,62bd15aeb9a8dbfc
X-Google-Attributes: gid1040c9,public
X-Google-Thread: 10b42a,62bd15aeb9a8dbfc
X-Google-Attributes: gid10b42a,public
X-Google-Thread: 103d64,62bd15aeb9a8dbfc
X-Google-Attributes: gid103d64,public
X-Google-ArrivalTime: 1992-10-23 00:54:12 PST
Newsgroups: rec.games.programmer,k12.ed.comp.literacy,comp.sys.mac.games,comp.sys.mac.programmer,rec.sport.baseball
Path: arc1-ca.pugleaf.net!sparky!uunet!zeus.ieee.org!sdd.hp.com!zaphod.mps.ohio-state.edu!darwin.sura.net!udel!gvls1!dave
From: dave@prc.unisys.com (David Lee Matuszek)
Subject: Re: What language for kids to write baseball program?
Message-ID: <1992Oct23.153634.21733@gvl.unisys.com>
Sender: news@gvl.unisys.com (IEE news user)
Nntp-Posting-Host: yggdrasil.prc.unisys.com
Organization: Paoli Research Center - Paoli, PA
References: <1992Oct16.173051.6062@Princeton.EDU>
Distribution: na
Date: Fri, 23 Oct 1992 15:36:34 GMT
Lines: 53