Code Wars is not as good as it seems

Recently I have found Code Wars a website where you can practice your development skills. I thought this is another nice idea like — but soon I had to find out that I was wrong.

About the site

The aim / goal of the site is to enable users practicing on various programming tasks which are simple enough to solve them fast and let them evaluate on-line through the system (with fixed tests by authors and random tests). These are called Kata-s.

Another task of the site are Kumite-s  which are small programming tasks too but you solve them with other “code warriors”.


The exercises have different levels — as karateka have when they start learning karate and improve their skills. Exercises in different levels are worth different point: harder exercises give you more points and you can improve your level faster.

Naturally harder exercises are harder to solve too: this means you should not start with a 1 kyu kata to get the hang of the whole system and how it works. Level 8 kyu is very easy but sometimes gives you a headache to implement a solution. And of course sometimes there is no right solution because you can approach a problem in different ways and apply different coding paradigms to provide a solution.

What’s the matter?

I started practicing these Kata-s. I did not think about them as being too easy (because it is meant for practice and practicing simple tasks makes you better in them — which gives you later advantage if you encounter a bigger problem where you can reduce to these small pieces).

But I have found some exercises which have a description and a sample test. You write your code and run the simple tests and then find that everything is OK. You want to submit and then… BANG! Errors in the tests because the description is not aligned with the sample solution provided and the sample solution itself has errors.

Other times the starting code block and test does not compile and you get errors because of different types used in Java (long[] is expected but an int[] is provided and you get an error).

That’s why I think the site is not as good as you might think.

Making things good again?

These problems can be solved. However it would take an active administrator-group to solve the issues with these exercises. Because all these issues are already mentioned to these Kata-s but they are not solved (and some of these mentions is really old).

Currently I have not found a way to modify code which has issues. Perhaps my level is too low.

“So I should avoid Code Wars?”

After this introduction you might feel the urge to ask this question. But don’t get fooled: these issues could be solved and with later levels you get more complex exercises where you have to think and re-think your solutions.

However you should avoid the site if you

  • want to learn coding and want to get feedback how to improve (for this use instead)
  • do not like to think
  • get frustrated if you encounter errors in examples
  • get frustrated if you have to write fast / efficient code.

But I will stay on the site because I like to think on problems and solve them — and re-think these solutions. And I like to improve my code to more efficient because sometimes you need to be fast and use less memory.


3 thoughts on “Code Wars is not as good as it seems

  1. Pingback: CodinGame for fun | JaPy Software
  2. Pingback: I knew it right at the start… | JaPy Software
  3. The beauty of CodeWars lies in its community. The problems you mentioned over here is just some buggy things which could be simply fixed. You can learn so much from the strong and active community that gives different views on the exercises, best practices solution, smart solutions and whatnots. You simple learn and interact with others while can practicing many things on your own private space.

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s