I recently had to fix a catastrophe of an Android application, on a tight schedule, with little Android programming experience, and a rusty Java, and I agree: what’s the problem with having to instantiate an anonymous class from an interface to implement an event listener, when you just have to type the first three characters of the listener method to have the IDE write the whole thing? And when you read the code, your brain will just skip from setOnClickListener to onClick anyway.
In the end, the help you can get from the IDE because you’re using a proper language like Java trumps the verbosity.
And that was in Android Studio: it’s a proper IDE, but it’s not that good.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
The verbosity of Java doesn’t hurt a bit.
...if you have a proper IDE.
Oh, I‘ve got another one: Eclipse works fine for me. :-)
😱...🤗
Right.
I recently had to fix a catastrophe of an Android application, on a tight schedule, with little Android programming experience, and a rusty Java, and I agree: what’s the problem with having to instantiate an anonymous class from an interface to implement an event listener, when you just have to type the first three characters of the listener method to have the IDE write the whole thing? And when you read the code, your brain will just skip from
setOnClickListener
toonClick
anyway.In the end, the help you can get from the IDE because you’re using a proper language like Java trumps the verbosity.
And that was in Android Studio: it’s a proper IDE, but it’s not that good.