|Ned Batchelder : Blog | Code | Text | Site|
Getting started with programming terminology
» Home : Blog : February 2013
I sat in on a beginner's programming class a few weeks ago, and I was struck by the bizarre words we routinely use, but which must sound like nonsense to beginners.
Take the simple program:
What is the word "print" doing here? Printing means to produce marks on a piece of paper. There's no paper involved. And "Hello, world!" is a string? It certainly doesn't look like a piece of string.
Expressions have no range of emotion at all, arguments aren't debating anything. Comprehensions are incomprehensible, floats just lie there. You can't put a price on values, dictionaries have no order.
It's no wonder beginners think we're all nuts.
» 14 reactions