When
· Naughties
· · 2006
· · · July
· · · · 20 (1 entry)

Want a New Pony? · In Java, you’d say new Pony("black"), and the pony is made by Pony(String color). In Ruby, you’d say Pony.new("black") and the pony-maker is ini­tial­ize(­col­or). In Python, you’d say Pony("black") and the pony-maker is __init__(self, color). I won­der which is best? Does all this seem kind of ad-hoc? Any­how, in re­al life, a Ja­va pro­gram­mer would start with an Ab­strac­tEquineBreed­erGen­er­a­tor and work from there. And for Ru­by you’d be able to say mySpecialPresent.get do | pony |, and it would clean up the pony poop for you (but the pony would be named Kuro­fu­ne). Python pro­gram­mers are Se­ri­ous Men and Women who Don’t Have Time For Ponies. [Up­date: The email is al­ready swirling in. Stand by for an­oth­er vir­tu­al com­ments sec­tion.]
 
author · Dad · software · colophon · rights
Random image, linked to its containing fragment

By .

I am an employee
of Amazon.com, but
the opinions expressed here
are my own, and no other party
necessarily agrees with them.

A full disclosure of my
professional interests is
on the author page.