Kodeclik Blog

What is Block-based Coding?

What is block based coding?

Block based coding is a type of coding or programming where a program is created by dragging and dropping blocks and attaching them together. Scratch programming language, developed at MIT's Media Lab, is one of the first block based coding languages. Scratch has an easy to use, simple to learn, block based, visual programming editor that can be used to create programs and teach coding concepts and thinking skills.
In block-based coding, you create programs by dragging and attaching blocks on a canvas rather than by writing code. The blocks snap together just like Lego blocks stacking together.

Who uses block based coding?

Block-based coding is ideal for beginners as a first introduction to the world of programming.

What are the benefits of block based coding?

It is hard to make mistakes when dragging and organizing blocks! Learners are able to rapidly see their creations in action without getting bogged down by the syntax complexities of modern programming languages.

What are some disadvantages of block-based coding?

You are limited by the blocks that are available to you. As you get more and more adept at using a block-based programming language you will find yourself wishing for more expressive blocks and other capabilities that are not readily available. At that point you might be ready to begin learning a regular text-based coding language such as Python or Javascript.

What are the popular block based coding languages?

Scratch, developed at MIT, is arguably the world’s most well known block-based programming language. MakeCode from Microsoft offers a block-based coding environment as well. Most robotics kits today (e.g., Lego Mindstorms) come with their own block-based languages. All these systems owe their intellectual origins to Scratch.
Like this blog post? Checkout KodeContest which features many block-based coding challenges!

Join our mailing list

Subscribe to get updates about our classes, camps, coupons, and more.

Copyright @ Kodeclik 2022. All rights reserved.