DEV Community

Cover image for Computational Thinking / Decomposition
21 Lessons
21 Lessons

Posted on • Edited on • Originally published at instagram.com

4 1

Computational Thinking / Decomposition

I started to sketchnote a while ago, mostly focused on topics that are interesting and relevant for beginners. In my head I had these thoughts about these core skills you need besides your first programming language. After lots of googling, I finally found out the term for what I was looking for: Computational Thinking!

There are a few aspects to Computational Thinking and here's the first one:

Computational Thinking Sketchnote

Decomposition - or how to break down a complex problem into smaller, more managable problems.

Let's take a TODO Application as example and break it down into its pieces. Part one is creating the user interface, followed by making sure that the UI reacts to user input such as button clicks or text inputs.

Then, we only accept TODO items that actually have a text. We don't want any empty items on the list.
For now, we're only saving them in memory. The last step is to render all TODO items that are stored in memory.


21 Lessons helps Junior Developers to level up their skills step by step via their weekly newsletter. Do you want to get out of Tutorial Hell or you're wondering how you develop the skills to write sophisticated programs yourself? Sign up and receive weekly articles and recommendations right in your mailbox.

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

The Most Contextual AI Development Assistant

Pieces.app image

Our centralized storage agent works on-device, unifying various developer tools to proactively capture and enrich useful materials, streamline collaboration, and solve complex problems through a contextual understanding of your unique workflow.

👥 Ideal for solo developers, teams, and cross-company projects

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay