Comment on Why Java folks should stop looking down on C#: differences in similaritiesComments−jschrf15ySuprised that reflection wasn't really mentioned outside of the concept of generics. Reflection in .NET (and C#) is extremely powerful and useful.All those other things that people have already commented on like Lambdas, expression trees, events and delegates, are incredibly nice to have.Here's the first thing I write when I start a Java project, followed directly by an abstract class based on it:public interface ICallback<T> { public void Invoke(T state); }−lurker1915yDoes that give you something better than Fuction<T,V> (aside from not requiring a return type)? http://google-collections.googlecode.com/svn/trunk/javadoc/c...
Comments
Suprised that reflection wasn't really mentioned outside of the concept of generics. Reflection in .NET (and C#) is extremely powerful and useful.
All those other things that people have already commented on like Lambdas, expression trees, events and delegates, are incredibly nice to have.
Here's the first thing I write when I start a Java project, followed directly by an abstract class based on it:
public interface ICallback<T> { public void Invoke(T state); }
Does that give you something better than Fuction<T,V> (aside from not requiring a return type)? http://google-collections.googlecode.com/svn/trunk/javadoc/c...