logo

 

     
 
BW2 Home
BW2 Site Map
BW2 Popular Articles
BW2 Search
Using This Site...
 
 
Bitwise Home
 
 
 

rss

 
 

ruby in steel

hostgator

 

Post a message

Replying to:

Monkeypatching, Ruby and Smalltalk

Programming Power - but at a price...
Sunday 24 February 2008 by Huw Collingbourne
I just came across an interesting article called “Monkeypatching is Destroying Ruby” on a blog with the admirable name, ‘Virtuous Code’. The author, Avdi Grimm, a long-time Ruby programmer, observes that the current trend among many Ruby developers is to extend the functionality of existing code using metaprogramming. This practice is called “Monkeypatching” - a term that is new to me but seems appropriately descriptive. Metaprogramming is a powerful (...)

Replying to:

Monkeypatching, Ruby and Smalltalk

Monday 25 February 2008

Thanks for the mention. Personally I’d hate to see any kind of strictures which *prevent* monkey patching added to Ruby; its permissiveness is one of its strengths. As I see it the only viable ways to tackle this phenomenon are a) to set a good example; and b) to provide tools that make doing the right thing easier than the equivalent monkey-patched solution. My blog post was an attempt to encourage the former; I hope to start working on the latter in the near future.



pre-moderation

This forum is moderated beforehand: your contribution will only appear after being validated by a site administrator.

Any message or comment?
  • (To create paragraphs, you simply leave blank lines.)

Who are you? (optional)


Home