DEV Community

Cover image for Android's billion-dollar mistake(s)

Android's billion-dollar mistake(s)

Jean-Michel πŸ•΅πŸ»β€β™‚οΈ Fayard on September 25, 2019

An article on billion-dollar mistakes, the ones that are assumed and the ones that stay un-spoken and on the importance of not misleading new devel...
Collapse
 
paztek profile image
Matthieu Balmes • Edited

IMHO the original sin is that this Context is a God object: you need it for almost everything and it knows too much. That’s the first anti-pattern
Android SDK should have had a good Dependency Injection framework from the beginning.

Collapse
 
jmfayard profile image
Jean-Michel πŸ•΅πŸ»β€β™‚οΈ Fayard

To clarify, I was not claiming that this was the only billion-dollar mistake in Android, just the one I wanted to zoom into :)

Collapse
 
hustyyo profile image
steve

so true.
Android works but it's trash

Collapse
 
schwiz profile image
Nathan Schwermann

Great, now I just want a burrito. Thanks, a lot!

Collapse
 
alxgrk profile image
Alexander Girke • Edited

Really loved your text, it made me laugh and cry at the same time. Thanks for pointing out, that admitting to be on the wrong path is crucial for saving kitten's lives.

Collapse
 
rodrigoehlers profile image
Rodrigo Ehlers

Great article! You have a little typo in the "Fragment !is Context πŸ€”" paragraph: "you realize that it does not extends Context." should probably use "extend" not "extends".

Collapse
 
jmfayard profile image
Jean-Michel πŸ•΅πŸ»β€β™‚οΈ Fayard

Fixed, thanks!