Monkey Patching in Scala(zameermanji.com)
zameermanji.com
Monkey Patching in Scala
http://zameermanji.com/blog/2013/3/31/monkey-patching-in-scala/
2 comments
Bah. Programming should be fun; there's a reason the biggest scala web framework is called "play". pimp-my-library is a memorable way to express an important concept. Documentation shouldn't have to be po-faced all the time.
The problem is that pimp has two meanings, the unintended meaning painting a weird picture in my head.
Really? The only image I get is a leopard print chevy with a hottub on a trailer.
[deleted]
unfortunately that nomenclature might also lead to exposing a spank the monkey method which might also be suboptimal
Ruby is gradually adding the ability to monkey patch without polluting the global scope via Refinements:
http://timelessrepo.com/refinements-in-ruby
http://timelessrepo.com/refinements-in-ruby
Also props to the author for not using the (horrible) term used in early Scala documentation/papers/books of "pimp-my-library"