DEV Community

30MP
30MP

Posted on • Originally published at 30minuteproject.com on

Tuesday’s Tip – Use code katas and koans to learn a programming language

Learning a new language? Try code katas or koans!

What are Code Katas?

Katas are simple techniques or patterns in karate to help teach you the basics. Repeat until mastery, and they become ingrained as muscle memory. C** ode **** k ***atas are exercises* intended to help you master a language or problem and hone your skills.

What are Code Koans?

Code koans are an easy way to get started with a code exercise routine. A k** oan is a mental exercise intended to stretch the mind**, often in the form of a question with no concrete answer. A code koan may exist as a set of unit tests that require you to fill in the answer as you learn.

Sites

Here are some code kata and koan sites to get started:

If you don't see your language listed above it should be a quick Google search away "[language] koans". If it isn't maybe this is a good opportunity for you to create some Koans of your own and contribute back to the Open Source community!

Get your free ebook

"The 30-Minute Project: How to improve Your Side Project Game to Become a Better Developer"
at 30-Minute Project

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

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

Okay