
Dave Smith - 2015-10-14 06:37:04 -
In reply to message 1 from Vallo Reima
I think closures where certainly the stepping stone that helped get anonymous classes voted in.
I do use the syntax you show for instantiating a named class in the next article on nested anonymous classes since they are nested within a named class. The article is currently in queue so it should be published soon.
Of course, your example is still instantiating a named class, where an anonymous class is instantiated and defined at the same time.
Dave