Friend of mine, , thought of an interesting way to flex the programming muscle.
Well, he might not have complete came up with it himself (:P), but he suggested that myself and try out these little programming tasks from http://www.rubyquiz.com/.
The idea is to complete the task within a certain time-frame(I think we chose a week) and post your results.
We opened up to more than just ruby (since I don’t know the language at all, it would take me more than a week to do most things…maybe), so I did my first quiz (http://www.rubyquiz.com/quiz76.html) in PHP.
It works, but it’s damn ugly inside:
http://test.thesidekick.ca/php.txt – the actual code
The idea here is that it mungs up a quote or string of text. Mine works, and it’s only been one night, so I might spend the rest of the week making it look better and in general improving the code.
But that’s the way it goes; get it to work, then get it to work well.
So right now it works, I’ll get it to work well later ^_^
Right now, my brain hurts from training today. It was a z/os “boot-camp”, and I tells ya, it feels like my head was booted.
So, for the rest of the night, I’ll spend my time watching Dr. Who. Well, the next hour anyway.