How many days to Christmas?
Archive - Originally posted on "The Horse's Mouth" - 2011-09-09 19:16:37 - Graham Ellis
What's lovely about Ruby is that it has the flexibility of Perl, and the togetherness of structure of Python. And I just love being able to dop a minus sign between two time objects and come up with a result which is the difference. An eloquent demonstration of a good use of operator override!
Image - from Ljublijana, Slovenia - where I gave a Python course a couple of years ago.