Software Developer Exercises: What Is a Pancake
Tags: challenge, discuss, computerscience
Published: 2021-12-20 17:38:38

## Prologue

Suppose I have to teach a little girl who has no knowledge and experience at all. She just saw a food advertisement, then suddenly she started tugging at the hem of my shirt while pointing at the television. I nodded with great confidence, giving my consent. Have forgotten the fact that I cannot even cook myself. Well, let us rely on Google then!

## The Story

She jumped up and down, _"Daddy, Daddy, what's that? It looks so tasty!"_

_"It's a pancake, my dear. You want one for breakfast today, don't you?"_

_"Yes!"_ Suddenly, she began to clench her both hands on chest while looking at me begging, _"Can we?"_

_"Definitely! Let's mess up our kitchenette!"_

_"Yay! But anyway, what exactly is a pancake, Dad?"_

Suddenly I seemed to start thinking hard.

A pancake is a sweet thin flat cake. But sometimes we see it can be very thick and fluffy, like Japanese souffle.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/xyeurtnkvwy7lphdlyin.jpg)

Or very thin, known as _crêpe_, which is popular in many European countries.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/8zbr2cw5mb70qm1b6uk1.jpg)

It can be made with either dough or batter based on wheat or rice flour. In advertisements, pancakes are usually round in shape. But in reality, it depends on the shape of our frying pan. Even we can have a special pancake pan. Or we may prefer to get a variety of silicone pancake molds like [this one here](https://www.williams-sonoma.com/products/williams-sonoma-dinosaur-silicone-pancake-molds-set-of-3/). Thus, we can make lots of savings.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/tyzohxggnwy93pz6fnhq.jpg)

Besides that, sometimes we find it is just plain, but rolled or enveloped into blintz.

Not necessarily sweet, pancakes can be savoury or even spicy. We decide what kind of topping or garnish we want to put on it, or filling. It can be served as a snack or side dish during breakfast hours with maple syrup, honey, [fruit spreads](https://spoonuniversity.com/lifestyle/11-reasons-harrisonburg-needs-trader-joes-asap), chocolate sauces, thickened milk, vanilla ice cream, yogurt, grated cheese, cinnamon sugar, _et cetera_. Or as a main course with vegetables, egg, meat, fish, or whatsoever.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/tibrc48t1qb45mqv7jap.jpg)

But some people tend to prefer left as is.

After all this, what do I think I should explain about pancakes to her?

## Epilogue

Talking about what makes a pancake a pancake was about defining a problem. It was a complex problem to be fair, as we could not solve it in one single step or two. In the process, we deliberately ignored details that are irrelevant to our goals. For instance, the history of pancakes and what kind of pancakes were trending at the moment.

## References

The following references are used in this article:
1. [Pancakes - Wikipedia](https://en.wikipedia.org/wiki/Pancake)
3. [Computational Thinking - BBC Bitsize](https://www.bbc.co.uk/bitesize/topics/z7tp34j)
4. [Computational Thinking - Hello Ruby](https://www.youtube.com/watch?v=K3vwRQCfTHc)