In this post we talked about the number of generation of rabbits
and reading Andy's blog the other day, made a lot of sense.
The Simple Things
People who have been coding for a long time forget that their variables and equals signs are incompatible with algebra. My friend might have passed the sheep test if her “beginner course” had taught her only these basic definitions:
- Programming
- not like algebra
- Program
- a sequence of instructions to be executed in order
- Variable
- a name which can be assigned a value
- Assignment (
a = b
) - an instruction to assign to the variable
a
the value ofb
- Looking at this has made me want to change my practice in the classroom and wanting to get the students to think about programming as Program, Variable and Assignment, rather than the focus being on the maths at present.
No comments:
Post a Comment