Re: A petition to J3 apropos FORTRAN's future
From: James Giles (jamesgiles_at_worldnet.att.net)
Date: 03/17/04
- Next message: Richard Maine: "Re: end-of-file condition"
- Previous message: glen herrmannsfeldt: "Re: end-of-file condition"
- In reply to: Dr Chaos: "Re: A petition to J3 apropos FORTRAN's future"
- Next in thread: Dr Chaos: "Re: A petition to J3 apropos FORTRAN's future"
- Reply: Dr Chaos: "Re: A petition to J3 apropos FORTRAN's future"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 17 Mar 2004 21:35:19 GMT
Dr Chaos wrote:
...
> C had structures. You could make linked lists which looked
> like they were from the the textbooks. You could make trees.
This particular argument always bothers me. The textbook
writers were in need of some simple examples to demonstrate
the basic properties of pointers. They chose lists and trees
as simple things that students could understand so that they
could concentrate on the purpose of the lesson: teaching
the properties of pointers.
However, it is *not* a good idea to implement lists or trees
with the naive textbook style! In fact, that's almost always one
of the worst approaches you can take. The textbook had a
specific purpose: teaching pointers. The programmer has
a different purpose: using lists or trees. The textbooks
didn't teach that second purpose.
-- J. Giles
- Next message: Richard Maine: "Re: end-of-file condition"
- Previous message: glen herrmannsfeldt: "Re: end-of-file condition"
- In reply to: Dr Chaos: "Re: A petition to J3 apropos FORTRAN's future"
- Next in thread: Dr Chaos: "Re: A petition to J3 apropos FORTRAN's future"
- Reply: Dr Chaos: "Re: A petition to J3 apropos FORTRAN's future"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|