Link Details

Link 306287 thumbnail
User 108996 avatar

By rf107350
via weblogs.java.net
Published: Nov 29 2009 / 21:58

In order to fully support closure, by example, be able to iterate over a collection using closure. Java has to add a mechanism to be able to extends already existing Collection API type hierarchy. C# 3.0 solve this problem using extension method. This blog post try to summarize why extension methods are evil.
  • 11
  • 7
  • 1665
  • 677

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.