# Comparing Algorithms: Same Goal, Smarter Steps > See why two programs that produce the same output can differ wildly in clarity, speed, and ease of editing. Comparing Algorithms: Same Goal, Smarter Steps — Scratch Daizen English Textbook. See why two programs that produce the same output can differ wildly in clarity, speed, and ease of editing. ## Lesson goal & core concept Recognize when loops, math formulas, or lists make a solution cleaner. Repeating 4 blocks 10 times with a loop is far easier to change than pasting 40 blocks in a row. ## Step-by-step practice Work through these steps in the Scratch editor, predicting each result before clicking the green flag. - Compare a brute-force linear search vs. stopping early once found. - Compare hardcoding 10 variables vs. using 1 list. - Measure clarity: can a friend understand your code in 30 seconds? ## Mini challenge & next steps Refactor an old script by replacing repeated blocks with a loop or custom block. - [Scratch Learning Textbook Home](/en/textbook/): Return to the full 4-stage curriculum overview. - [Scratch Block Dictionary](/en/dictionary/): Look up any block used in this chapter. Updated: 2026-11-23 Author: [Takamasa Suzuki](https://scratch.gmnavi.jp/about/author/) Japanese Edition: https://scratch.gmnavi.jp/textbook/algorithms-compare/ [Scratch Daizen (English)](https://scratch.gmnavi.jp/en/)