3 ms·
I suppose the order your introduce those examples in ultimately comes down to whether it's more important for the student to first understand what the computer
by rainsford 2y ago
I suppose the order your introduce those examples in ultimately comes down to whether it's more important for the student to first understand what the computer is doing or how it is doing it.
Most people don't start out thinking like computers, so I think it's probably more important for a new student to understand how code describes a particular series of operations and then help them translate that into how a computer "thinks" about those operations.
- userbinator 2y agoMost people don't start out thinking like computers Everyone who has followed a sequential list of instructions would strongly disagree.
- saurik 2y agoWhich, FWIW, are almost never written using recursion: they are written with either imperative loops or the moral equivalent of a goto statement.