3 ms·
Well, scheduling is important. I can't connect my new phone to the computer until I've taken it out of the box it came in. It feels like I'm leaning to the imp
by magicalhippo 8y ago
Well, scheduling is important. I can't connect my new phone to the computer until I've taken it out of the box it came in.
It feels like I'm leaning to the imperative side. When breaking down the problem into substeps, I'm already thinking about the sequencing which will later dictate the scheduling.
I've been teaching Scratch[1] to 11-13 year olds for a few years now, and most seem to pick it up pretty quick. However a few struggle (while still being motivated enough to keep trying). Would be interesting to see how it went with a functional Scratch version.
[1]: https://scratch.mit.edu/ https://scratch.mit.edu/
- lmm 8y ago> Well, scheduling is important. I can't connect my new phone to the computer until I've taken it out of the box it came in. That's not scheduling, that's a data dependency which functional style handles very well. Imperative would be more like deciding you have to unpack the charger and then unpack the phone and then charge the phone, when in fact it's fine to unpack them in either order. http://www.lihaoyi.com/post/WhatsFunctionalProgrammingAllAbout.html http://www.lihaoyi.com/post/WhatsFunctionalProgrammingAllAbo... has an extended example.
- magicalhippo 8y agoGood point, thanks for the correction.
- tathougies 8y agoI think codeworld is a more functional alternative to scratch, although much less drag and drop. Check it out.. It's pretty fun! https://code.world/ https://code.world/