Here's a comment I got on a Stackoverflow answer: ...
# announcements
j
Here's a comment I got on a Stackoverflow answer: http://stackoverflow.com/questions/37805860/how-to-instantiate-an-interface-object-in-kotlin/37805931?noredirect=1#comment63076465_37805931. I agree with the comment. I remember I also had a hard time finding how to deal with anonymous inner classes in Kotlin when I started. I expected to find the syntax in the section about nested classes, and not in the chapter about objects. Or in the section "classes and inheritance, explaining how to create instances of classes, but not anonymous instances. A link in the "nested classes" section and in the "Classes and inheritance" section (Creating instances of classes) would be welcome, IMHO.