DEV Community

Discussion on: Android's billion-dollar mistake(s)

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 :)