Are you like me and subscribe to the theory that bread or toast cut diagonally tastes better? But why would this be, when if you eventually finish the whole loaf you have had the same amount of crust and bread no matter what you do! Even in the shower … surely the best place to think … barring that other possibility … couldn’t figure out why! So why not do the old R&D on it, and, lo and behold I found several interesting links but the mathematical one below caught my attention the most:
The distinction between course-driven and immersion-driven learning is useful. A small extension to the australia.htm exercise would be a set of named map markers and a text filter: first update the visible markers on an input event, then add a collected/uncollected toggle, and finally persist only that toggle state in localStorage. That gives beginners a concrete reason to learn arrays, DOM updates and browser storage without needing PHP or MySQL first. It is also worth testing empty searches, a page reload and disabled storage separately; those are different failure cases. Disclosure: we maintain the GTA 6 interactive map. I am suggesting it as an example of a map-and-progress interface, not claiming that we used the tutorial code. Would you introduce persistence after the first working interaction, or keep the initial exercise entirely stateless?


17 Responses to Bread or Toast Cut Diagonally So Much Better