35 ms·
I have taught GW-BASIC, and also Python, C, Fortran and a couple of other languages through the years. But I don't trust my experience because it spans three de
by beagle3 6y ago
I have taught GW-BASIC, and also Python, C, Fortran and a couple of other languages through the years. But I don't trust my experience because it spans three decades, in which my experience changed, my student's backgrounds changed, etc.
Looking backwards, it is my experience that line-numbers and goto/gosub clicked more quickly and more deeply than function calls.
But, as you say, and as I alluded to in my first post, motivation to write code tomorrow morning is likely a better thing to optimize for.
I would refuse to teach JS, though; it has way too many warts one can't avoid, creating damage that would take a while to undo.