Exactly, this was my point.
It took me about as long as I typed this code to write it.
Of course it is doable with callbacks, but I know I'm not smart enough to do it in a comment field on HN.
It took me about as long as I typed this code to write it.
Of course it is doable with callbacks, but I know I'm not smart enough to do it in a comment field on HN.