From: Mike Stok Date: 2008-05-07T23:38:28+09:00 Subject: Re: Word for monkeypatching On 7-May-08, at 10:27 AM, Phillip Gawlowski wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Brian Marick wrote: > > | > | David: do you have an alternate word or short phrase suitable for > using > | frequently? That is, something that fits in this sentence: > | > | I got tired of that, so I > | monkey-patched NSNotification > | to define []: > > While I'm not David, nor do I play him (or any David) on TV, here's my > two cents: > > 'I reopened NSNotification and added/defined [] for use.' > > Short, sweet, to the point, and neutral in its connotation. > > > (I admit that I chose 'monkeypatching' earlier to actually invoke the > negative connotations. Reopening a class shouldn't be done lightly!) I am a little confused, and maybe my understanding of Ruby classes is muddled: If classes are never closed then why do the need to be (re-)opened? 'I added [] to NSNotification' Mike (These days I spend more time fighting SharePoint or Outlook than doing anything useful or interesting, so if I am out of line please forgive me.) -- Mike Stok http://www.stok.ca/~mike/ The "`Stok' disclaimers" apply.