2 ms·
My CS prof taught Java similarly, even though I already knew it by the time I got to college. The distinction between compiling and running is nontrivial to un
by jolux 6y ago
My CS prof taught Java similarly, even though I already knew it by the time I got to college.
The distinction between compiling and running is nontrivial to understand, and I’m not sure how important it is right at the start. Python will throw a type error at runtime, Java will throw a type error at compile time. You can talk about what sorts of things you can do with strings and so on in a loose way without getting too in depth, for example. It may even help to mention them as types. But having the overhead of learning them first can often be too much, I think.
Like I said, I don’t think this is the last word and I remain hopeful for better type-driven teaching strategies.