3 Sets of Programming Exercises to Polish Your Skills

Yesterday at the last URUG meeting, one of the presenters talked to us about Ruby threading and then got us started on an exercise building a chat server using threading. The exercise was enlightening and really cemented the concepts for a lot of the people there. So, I thought I’d share three sites that provide programming exercises to help you become a better programmer.

Project Euler

Project Euler is a series of math problems you can solve with programming. I’ve solved 25 of them so far and have my solutions on github. I prefer that you don’t look at the solutions until you’ve solved them yourself. If you’d like to discuss the solutions you got or the solutions I built, feel free to email me.

RubyQuiz

RubyQuiz ran for about 3 years under the direction of James Edward Gray II. Since he stopped doing it, it’s now posted on the Ruby Talk mailing list. The problems are generally intermediate with a few exceptions.

Code Kata

Dave Thomas of pragmatic programmers developed the idea of Code Kata. These are exercises that are designed to be repeated and the practices behind the exercises perfected. I’ve seen a few demonstrated and will be posting my solutions on my github account.

If you want an example of a Code Kata, look here.

Overall, practice makes perfect. It’s one thing to read about programming principles and practices and another to implementing. Good luck with these solutions. Feel free to post your solutions or links to them in the comments.

{ 7 comments… read them below or add one }

Lars Westergren September 9, 2009 at 11:15 pm

Thanks, good post.

I can also recommend “15 exercises to knowing .Net”, which, despite the name, is lots more than 15 exercises, and was intended by the author to be solved using any language. He even has a discussion about which languages might find a particular exercise easy or hard.
http://www.knowing.net/index.php/2006/06/16/15-exercises-to-know-a-programming-language-part-1/
http://www.knowing.net/index.php/2006/06/16/15-exercises-to-know-a-programming-language-part-2-data-structures/
http://www.knowing.net/index.php/2006/06/16/15-exercises-to-know-a-programming-language-part-3-libraries-frameworks-and-mashups/

Reply

Adrian September 10, 2009 at 5:51 am

Here’s a fourth: Programming Praxis (http://programmingpraxis.com/). Think of it as a weekly Code Kata…

Reply

Walt September 10, 2009 at 6:23 am
stephanos January 20, 2010 at 12:11 am

recently the JVM-specific http://codingkata.org joined the others, check it out!

Reply

Joel Gillman March 22, 2012 at 3:22 pm

I realize this post is three years old by now, but it’s exactly what I was looking for. Thank you!

Reply

Harish Kurup April 22, 2012 at 4:22 pm

“practice makes perfect” very true. Thank You! 

Reply

Akash July 13, 2012 at 5:27 pm

Thanks a Lot……….. This is really very useful post………..

Reply

Leave a Comment

{ 7 trackbacks }