2 ms·
Interesting idea, will try this approach on my son. I remember when I was a kid, I took an after school programming course and the teacher had a very cool appr
by dvirsky 7y ago
Interesting idea, will try this approach on my son.
I remember when I was a kid, I took an after school programming course and the teacher had a very cool approach to start us with:
All attendees were "computer nerd kids" with some programming knowledge, usually in BASIC (it was the late 80s), and the course was taught in Pascal. So instead of building from very basic principles, the first lesson was something like: "This is the editor, this is how you compile. Now, let's write an algorithm to find the largest integer in an array, and that way you'll pick up all the basic building blocks".
This was mind blowing to me, I was ready for an hour of "hello world" and demonstration of basic language constructs, like it was taught at school. But instead, in the first lesson he had covered compiler invocation, variables, static types (a totally new concept coming from LOGO or BASIC), functions, conditionals, loops, arrays and console output - and probably the very idea of algorithms. It was really great.
- lowercased 7y agoI seem to remember that to unit test LOGO you needed a mock turtle...
- dvirsky 7y agoThey didn't teach us what tests were, that's for sure.
- wizzwizz4 7y agoThe original version of LOGO provided an emulated turtle that I'm pretty sure was shown on a display if one was present. It was on a PDP-something, though, so later cut-down versions might not have had it. (I think the Apple ][ one had one, too.)