TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Monkey Patching in Scala

24 pointsby amerf1over 11 years ago

2 comments

octo_tover 11 years ago
(Scoped) Implicits are awesome, it turns out that scope is exactly the solution to the problem with generalised monkey-patching :o<p>Also props to the author for not using the (horrible) term used in early Scala documentation&#x2F;papers&#x2F;books of &quot;pimp-my-library&quot;
评论 #6510316 未加载
评论 #6511798 未加载
robmilover 11 years ago
Ruby is gradually adding the ability to monkey patch without polluting the global scope via Refinements:<p><a href="http://timelessrepo.com/refinements-in-ruby" rel="nofollow">http:&#x2F;&#x2F;timelessrepo.com&#x2F;refinements-in-ruby</a>