osfameron had to develop something to parse fixed width text files, as his boss decided they were more use than csv files. He linked us to it in the #geekup IRC channel and Caius decided to implement it in Ruby. Then, Will decided to implement it in Python. I didn't understand osfameron's version too much, but I have a decent grasp on Ruby, and know Python quite well. This meant that I understood the problem, and decided to add a PHP implementation of the solution.

This isn't a hugely complicated problem, but I found it interesting to see both how each developer implemented a solution, but also how each language was used to tackle the problem. So, in order. Perl, PHP, Python and Ruby.

PS: Apologies for the abysmal post rate. I'll be back to normal soon :)

No related posts.