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

Re: Programming the IIgs



In article <dempson-2407960202500001@dempson.actrix.gen.nz>,
dempson@actrix.gen.nz (David Empson) wrote:

> >The disadvantages of C? Well all the code examples in the Toolbox manuals
> >are in Pascal...
> 
> No they aren't.  They are all in C.
Oops, I mixed it up with the 'Programmer's Intro'. There most code
snippets in the text are in Pascal. Fortunately there is the Appendix with
Assembler and C code as well (beat that, Inside Mac...) I think even the
'BusyBox' sample program in 'Toolbox Ref III' is in Pascal, isn't it? I
just recently came back to GS programming...
> In my case, I learned Pascal (1981), BASIC (1982), 6502 machine code
> (1982), assembly language (1983), (s)Logo (1984), then C (1986).
So you are one of the rare people not being spoiled by BASIC before
learning Pascal... :-) Here's my 'history':
   1982 BASIC, later 6502 machine code, then assembler (on a
        highschool Commodore PET, with the AIM-65 assembler
        ported by a friend...)
   1983 Pascal (on a Cromemco Z80 CP/M system with 8" floppies)
   1989 65816 Assembler (when I got my GS)
        (big gap, black hole...)
   1996 C (when I was writing the Debugger for Fast Eddie)

> I certainly appreciated learning Pascal first
Yeah, me too. But now I can't stand it any more either. What I did like
(and do like in ANSI C) was this extensive typechecking. E.g. in Assembler
it's so easy to ruin a program by simply forgetting a single '#'. And this
type of error is sometimes very hard to track down (perhaps one reason why
I never finished Chemix :-)  )
I do now again some coding on the GS, and it's just fun doing it in C!

Cheers
--Urs

_____________________________________________________________________
Urs Hochstrasser   ('Cody')    internet: hochstrasse@ubaclu.unibas.ch
Official Computer Wizard (CV) of the Botanical Institute Hebelstrasse
                  University of BASEL (Tel int. 7 23 32)
                webmaster of http://www.unibas.ch/bothebel
_____________________________________________________________________