I once asked a student of mine, who is barely 10 years of age, to write a piece of code to find the location of the number 7 in a list. He gave that usual confused look, and I braced myself for the question I knew was coming. With a tilt of his head, he asked me something so innocent and yet sent me down a rabbit hole of thought. "Can't the computer just see it's right there on the screen, at the 5th position?" Seems like a simple question, but it took me quite a while to formulate an answer.. If I were to answer that question again, here's how I would do it.

I will respond with 1 word and two sentences. “Abstraction”, “data structures are fake”, and “dumb but fast”.

Search (2).jpg

Abstractions.

"Computer Science is only two things. Adding abstractions and taking them off."

Data structures are fake.

Search.jpg