arrow_back A Material Design guide for Android Developers
Writing Safety-critical code arrow_forward
Submitted by Harshit Bangar (@bangarh) on Tuesday, 9 August 2016
Section: Crisp talk (15 minutes) Technical level: Intermediate
Supporting value type is hard in Java. In this talk I will be talking about autovalue and extensions which makes android development much more pleasent.
To write a value type in Java it needs 40 lines of code plus 10 lines of code for each field. It is tedious and error prone as while updating the model toString(), equals() are often missed. In this talk I am talking about auto-value extensions. I will be showing how easy is to reuse same model when changing the underlying network layer like Gson or Moshi.
None. Some understanding of annotation processing (JSR-330) will help.
Currently working in Uber, previously I have worked at Amazon, Kiwi and tried running my own startup. I am always excited about new shiny languages such as Swift, Kotlin and love to talk about pros/cons and how to make development process easier.