Explaining arrays with a book shelf made my roommate's day
I was working on a small JavaScript project at home, trying to organize color codes for a client banner. My roommate peeked over and asked why I had all these lists in brackets. I said it was like a book shelf where each book has a spot, and you can pull any one out by its number. He nodded right away and said it made sense now. We talked a bit more about how loops could go through each book on the shelf. It felt really nice to help someone see coding in a simple way. In my experience, using everyday things to teach basics works well. Now he's curious about trying some code himself, which is a win in my book.