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.

  • DZone
  • Twitter
  • Slashdot
  • Delicious
  • Digg
  • Technorati Favorites
  • Facebook
  • Reddit
  • StumbleUpon
  • LiveJournal
  • Squidoo
  • Google Bookmarks
  • LinkedIn
  • Share/Bookmark

9 Comments »

Lars Westergren

September 9, 2009

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/

Adrian

September 10, 2009

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

Walt

September 10, 2009

I really like http://www.pythonchallenge.com

Posts about Programming from google blogs as of September 10, 2009 « tryfly.com

September 10, 2009

[...] you can get your scriptlance account. In case you already have an account with … 3 Sets of Programming Exercises to Polish Your Skills – charlesmaxwood.com 09/10/2009 Practice makes perfect. Here are 3 sites that provide [...]

Random Links #45 | YASDW - yet another software developer weblog

September 11, 2009

[...] 3 Sets of Programming Exercises to Polish Your Skills In den Comments stehen noch ein paar mehr Exercises [...]

8 Lessons From Corey Haines’ Performance Kata

September 14, 2009

[...] Have you ever read a book or watched a presentation and learned something really interesting only to forget it a week or two later? I know that I have. Performance Katas are on the other end of the spectrum. They are exercises designed to help developers practice certain aspects of their chosen development language. I wrote a post last week about Code Katas and a few other sets of programming exercises. [...]

Ennuyer.net » Blog Archive » Rails Reading - Sept 21, 2009

September 21, 2009

[...] 3 Sets of Programming Exercises to Polish Your Skills [...]

stephanos

January 20, 2010

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

Episode 7: Practice Makes Perfect – Coding Exercises | Rails Coach

January 29, 2010

[...] Here is the link to my blog post about coding [...]

Leave a comment