Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I have been having a lot of fun lately telling bedtime stories to my kids (ages 5 and 3). It's a collaborative improv effort with my 5yo since he likes to chime in with suggestions.

The fun part for me is incorporating various mathematical and programming concepts into the storie like functions and boolean logic.

Last night's story involved a subtraction function that would spit out negative M&Ms if too few regular M&Ms were supplied as the input. The characters learned that they had to store their regular M&Ms separately from the negative ones in order to avoid a cancelling-out reaction if they came into contact with each other.

Tonight we will explore what comes out when negative M&Ms go into the subtraction function.

Another popular plot line in these stories involves a baby gate with a filter function that controls who can go through. The functions have gotten more and more complicated as my 5yo gets familiar with the concept, and now I have an idea for a baby gate code injection exploit that I'm excited to tell.

I've posted a few polished versions of these stories to my blog and hope to add more soon.

https://bancosparenting.wordpress.com/tag/pickle/



Thanks for sharing that. I am 71 and my Dad is 101. I still fondly remember him making up bedtime stories, stream of consciousness, just making stuff up. It was great. I am going to call him now and remind him of that.


This is great and something I do with my kids as well. I’d suggest recording them on your phone (or wherever) for posterity. It’s so much fun to go back and listen to them!


Yes! Plus it's great to have those recordings available for sick days and other times when I want to entertain the kids without having to resort to TV or other forms of screen time that I prefer to avoid :)


This is brilliant, thank you for sharing your idea as well as the blog. I can’t wait to read these stories to my kid when he grows up




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: