· Naughties
· · 2006
· · · August
· · · · 20 (1 entry)

RAD IV: TMTOWTDI · [RAD stands for Ru­by Ape Diaries, of which this is part IV.] That glob of let­ters in the ti­tle stands for “There’s More Than One Way To Do It”, and it comes from Perl cul­ture. It is a dis­tin­guish­ing fea­ture of Perl that if there’s some­thing you need to do, not on­ly does Perl have a way to do it, it has lots of dif­fer­ent ways. Perl’s le­gion of evan­ge­list­s, led by Lar­ry Wal­l, ar­gue that this is an ad­van­tage. Lar­ry has a com­pelling ar­gu­ment by par­al­lel with lin­guis­tic­s; nat­u­ral lan­guages usu­al­ly have many ways of say­ing any­thing that’s worth say­ing. Not ev­ery­one agrees that this is a virtue; in par­tic­u­lar, Python­istas have his­tor­i­cal­ly grum­bled. Ru­by seems to fall in­to the Perl cam­p. And now, dear read­er­s, I must con­fess to a bit of du­plic­i­ty. When I wrote RAD III: Quack Like a URI, I knew that my ex­am­ple was per­haps not the purest pos­si­ble ex­am­ple of duck typ­ing, but my hid­den agen­da, name­ly gath­er­ing ma­te­ri­al for a TMTOWTDI es­say, worked out well ...
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.