Get the latest tech news

Teaching Programming with Basic


I started programming in GW-BASIC on an IBM PC clone running MS-DOS. Back then, many so-called home and business computers came bundled with a BASIC interpreter, mostly made by or licensed from Microsoft. They all looked similar. You were greeted by a screen with a READY or OK prompt and a blinking cursor waiting for your input. The “screen editor” and interpreter were all in one in the true sense of the word – they weren’t bolted together like the separate text editors and interpreters/compilers we use these days…

There are no functions, no object oriented programming, no libraries, no frameworks – just a few simple instructions and jumps that can be directly mapped to machine code. “It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration.” – Edsger Dijkstra If one wants to understand how computers work, I think it’s easier to start closer to the level they operate, and introduce useful abstractions like functional and object oriented programming as time goes on.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of programming

programming

Photo of BASIC

BASIC

Related news:

News photo

PC-BASIC, a cross-platform interpreter for GW-BASIC

News photo

Programming in Unison

News photo

A practical introduction to constraint programming using CP-SAT and Python