by analog31 · 4y ago · 0 comments
Later she taught programming. The first thing she told students was: "Computers are dumb. They will only do exactly what you tell them."
10 REM Computers are never wrong
20 PRINT "Please type a number"
30 INPUT A
40 LET A = A + 1
50 PRINT "The number you typed was"
60 PRINT A
After a few paragraphs of explanation I learned that computers do what you tell them to do, not what you want them to do.