razonyang / hugo-theme-bootstrap-comments

1 stars 0 forks source link

post/the_five_step_guide_to_become_android_developer/ #28

Closed utterances-bot closed 2 years ago

utterances-bot commented 2 years ago

The 5-step guide to become an Android Developer - Cups of Code

Tips on how to become an android developer and what to learn or roadmap to software engineering for complete newbies

https://cupsofcode.com/post/the_five_step_guide_to_become_android_developer/

Shakenbeer commented 2 years ago

Please-please-please learn Java basics. At the end of day Kotlin is backed by Java. We are interviewing a lot of people, who learned only Kotlin, and they are not aware of difference between == and ===, because they are not aware of .equals(), thus, some candidates never used Set (!!!) and if they needed to store unique instances, they did it manually with List. Because they never-ever inplemented equals() and hashCode(), they are using data classes wrong. They are using data classes everywhere, even if there is explicit ID property. Hence, their usage of DiffCallback has no sense. And so on... Please-please-please, finish at least Head First Java in order to avoid such a confusion.

AidaIssayeva commented 2 years ago

hi @Shakenbeer 👋, just saw your comment (for some reason I don't get any notifications when a comment posted via utteranc).

Agree completely with you on hashCode() and equals().

I double-checked to make sure I didn't miss anything and yes, in Kotlin in Action book there is an entire section about them: what do they mean, what do they do all they way down in compiler , and ways of overriding them (part 4.3 - compiler generated methods cover toString(), hashCode(), equals())