Re: Programming languages for the very young
From: Ray Dillinger (bear_at_sonic.net)
Date: 01/28/04
- Next message: Darin Johnson: "Re: Programming languages for the very young"
- Previous message: Darin Johnson: "Re: Programming languages for the very young"
- In reply to: Darin Johnson: "Re: Programming languages for the very young"
- Next in thread: Darin Johnson: "Re: Programming languages for the very young"
- Reply: Darin Johnson: "Re: Programming languages for the very young"
- Reply: Michael D. Ober: "Re: Programming languages for the very young"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 28 Jan 2004 20:57:27 GMT
Darin Johnson wrote:
> BASIC can, and still does, ruin a lot of programming potential. Even
> advanced BASICs with structured control constructs still teach bad
> programming advice. A student really needs to learn that programs are
> structured, have rules, and have styles. I spend a few years teaching
> introduction to programming in Pascal, and the students who had
> already spent a few years on BASIC inevitably had the hardest time
> unlearning their "just scribble something down" habits.
>
Would you say that using machine code directly teaches poor programming
practices? It has most of the same problems as BASIC: it does not force
anyone to use any structure, has no enforcement of any particular style,
and lends itself even more easily than BASIC to egregiously hacky things
like punning on the bit patterns of constants and/or instructions. It
has goto, and conditional goto, but no such thing as, say, subroutine
abstraction.
Before you tell me that assembly has subroutine calls, note that I am
talking about machine code here; I know that there are assemblers which
package up subroutine patterns as macros, but I'm not talking about a
macro assembler language, I'm talking about machine code, or equivalently
a non-macro assembler.
I would say that the unstructuredness of machine code teaches people the
value of consciously imposing plan, structure, and design on a program
rather than relying on the language to do it for them, and thus makes
them *better* programmers.
And while I agree that BASIC is sort of an annoying and pathetically limited
language, I don't see a qualitative difference in what it teaches.
Bear
- Next message: Darin Johnson: "Re: Programming languages for the very young"
- Previous message: Darin Johnson: "Re: Programming languages for the very young"
- In reply to: Darin Johnson: "Re: Programming languages for the very young"
- Next in thread: Darin Johnson: "Re: Programming languages for the very young"
- Reply: Darin Johnson: "Re: Programming languages for the very young"
- Reply: Michael D. Ober: "Re: Programming languages for the very young"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|