Fragmentation is a Bad Excuse

Ah, fragmentation. The marketing term that has even blinded developers. The word that lets software engineers make excuses for writing bad software. But hey, don’t let me stop you from complaining. I’ve been developing for Android long enough to know that it’s not an easy thing to make apps for devices like the Galaxy Nexus while still supporting low-end devices like the Samsung Replenish. Yeah, two completely different devices. I know it’s not easy. But you won’t find me saying Android sucks because of it. In fact, you’ll find me praising it for that exact reason.

You can go ahead and brag that iOS development is easy. Yeah, I’m listening. But before you continue, I want to ask you something really, really important: are you seriously okay with having one device with one operating system powered by one software market run by one company? I’m not talking on a “control” level, I’m talking on an innovation and choice-of-use level. If so, you can go ahead and do what you want. But if you believe in the growth of technology and the power of scalability – this is for you.

Android (Google’s version and the open source one) fits on multiple kinds of screens and resolutions and handles numerous kinds of hardware that the Android team doesn’t control. On top of that, they’ve built a framework that scales applications that they also don’t control. Take a second to understand this. Do you realize how amazing this is? Do you, as a developer, understand that this is one of the toughest level of scalable software you’re going to encounter? And then you’re going to complain about an app on top of a VM and a framework that gives you tools to make things scale? Seriously?

Programming is a challenge. Scalable programming is that much harder. Android involves the latter. The fact that there are different screen sizes, resolution, and underlying hardware is bad enough, but the fact that OEMs and carriers take their sweet time to upgrade to the latest OS makes things even more difficult. That being said, majority of applications won’t need more than what the framework tools in FroYo (2.2) gives us, so that’s a really great thing and if you do, there are backwards compatibility libraries to make sure you can use them even then.

You know what else is great? Google’s made it quite easy to make your applications scale properly. Yeah, it’s all in the framework – you don’t need to build something to do it. Things like RelativeLayout and weighted layouts make a developer’s life really easy when it comes to handling mulitple kinds of devices. I’ve made incredibly complex layouts that scale onto any screen and resolution quite easily – yes, even between the Galaxy Nexus and the Replenish. It’s completely possible and it doesn’t take that much more effort. It just means you, as a developer, need to properly write your code.

You can keep saying that fragmentation is a problem, but I’m about to tell you the problem with iOS: it’s tailored. It’s tailored to the point where if Apple ever increases the size of their device (or, as we saw with the iPad – increases the resolution), too many applications won’t work properly. That means that the app store that Apple themselves controls will fall into shambles because they never prepared developers for such a change. Or, on the other hand, they’ll never change the screen size of their devices, which is even worse if you ask me.

Scalable beats tailored 100% of the time, so don’t complain if you’re required to do it. Once you learn how to do it on your specific platform, it’ll be a breeze to do it from then on. It’s just a matter of not being lazy and taking that first step.

Be a software engineer that scales, because that’s what software engineers do. Don’t be afraid of the most important task you have as a developer.

2,576 trackbacks

  1. hogan scarpe online…

    Le adesioni al manifesto aumentano sempre di pi in modo esponenziale. Attori, registi, scrittori, musicisti, politici, associazioni culturali, case editrici, atenei, semplici cittadini stanno dimostrando il proprio sostegno nei confronti di un lodevole…

  2. piumini timberland…

    criminal records season. I might need to compete with patrick kane mugshot although it’s possible to do many mug shots of celebrities effectively. Broward mug shots isn’t worthwhile. You’ll only see…

  3. outlet borse gucci…

    ARTICLES DE DATEThe r茅el Wheels of Fortune…

  4. gucci borse outlet…

    Ballydoyle, like every other stable was a little behind schedule when…

  5. hermes bari says:

    hermes bari…

    A piano terreno di questa torre, che si chiama Galfa, uno stuolo che impressiona di giovani, centinaia e centinaia, stanno facendo il loro lento ingresso, ma io gi li ho abbandonati, ne sono stato gi espulso da una sanzione che soltanto mia interiore….

  6. gucci collezione 2014…

    Lloyd carried a dreamy, watercolor flower pattern from a full, pleated jumper into tops and cardigans. Her “joie de vivre” embracing Paris and the fashionable women who live there also showed up in a pattern adorned with colored drawings of the women…

  7. bracciale gucci uomo…

    Recommended article: Marsha Linehan and dialectical approach to deal with his own demons…

  8. negozio gucci firenze…

    Toute l’équipe de service a été à la limite de l’irrespect. c’est lamentable!!…

  9. gucci orologio…

    edmontonexaminer.com…

  10. outlet borse prada online…

    Our Internet sales continued to grow at a much faster pace than overall company growth. Internet sales for the quarter were $124 million, an increase of almost 23% over last year. All of our Internet businesses contributed to this growth….

  11. outlet borse gucci online…

    7) Laut Handy-Schw盲tzer! Dies geschieht, in Restaurants, Einkaufszentren, 枚ffentliche B盲der und wie ich gestern entdeckt, Waschwarter盲ume. Es ist sch枚n und ruhig, ein Raum voller Menschen geduldig sitzen und warten, um ihre sch枚nen, sauberen Auto zu se…

  12. immagini borse gucci…

    You want the bow to be strongest (thickest) at the handhold….

  13. gucci prezzi says:

    gucci prezzi…

    TOP STORIES ACROSS CITIESMinister booked for molestationMounting debts drive couple to suicideNaxalites slay village sarpanch near HyderabadBEST services may be hit on March 1IAF copter joins search for drowned IIT boyChennai techie was denied cab beca…

  14. gucci a mascherina…

    Other, smaller follow up studies have shown consistently that hyperactivity or…

  15. infrared 6 says:

    infrared 6…

    What’s up Dear, are you in fact visiting this web page Fragmentation is a Bad Excuse regularly, if so after that you will absolutely take pleasant experience….

  16. hogan outlet online…

    It’s my job to turn out listening to Grooveshark although….

  17. negozio timberland on line portogallo…

    Next week the Tourism Minister, Martin Ferguson, will launch the 2020 China Strategic Plan at the China Australia Tourism Summit in Cairns….

  18. coach factory outlet online…

    nike free run 7.0 nike free run 4 nike free 2.0 free run 6.0 free run 3.0…

  19. gucci outlet jacket…

    Bref, il décrit les esclaves du système que nous sommes, plus ou moins, tous: broyé entre les mailles du filet, voyez: j besoin de maille mais j pas envie d travailler pour ces gens mais je suis obligé. Sinon je suis sur la paille et baillé par mon foy…

  20. ray ban wayfarer 2140 misure…

    Renewable Energy Certificate trading volumes doubled in FebJ govt to provide over 36k solar lights in villages,hamletsPolitics luring policemenCops joining politics: How do they make the transition?With more top cops, joining politics, will a situation…

  21. nike flight says:

    nike flight…

    Hurrah! Fragmentation is a Bad Excuse It’s also nice post concerning JavaScript, I am really eager of learning JavaScript. thanks admin…

  22. timberland forli…

    L’accent Bielema sur les lignes offensives et d茅fensives n’est pas une surprise, 茅tant donn茅 son style typique de la lecture. Ses deux premi猫res recrues, plaqueur d茅fensif Bijhon Jackson et offensif Brian Wallace, pourrait tenir compte imm茅diatement….

  23. sepatu bola nike mercurial terbaru 2014…

    Moonlight Cloud’s story has taken on a new dimension after owner George Strawbridge introduced the prospect of the Hong Kong Mile favourite remaining in training as a six year old….

  24. mulberry handbags raspberry yogurt…

    Purtroppo l’italia, ma la colpa nostra. E mi ci metto anche io perch noi s in veneto paghiamo meno rispetto ad altre parti d’italia ma pur sempre di pi di altri paesi pi civili del nostro. Colpa nostra che accettiamo da secoli il fatto che accettiamo…

  25. scarpe prada america&s cup italia…

    museomarinomarini.it…

  26. stivali da pioggia gucci…

    La ceralacca del tappo di una bottiglia di vino sempre meglio della leccata di colla Vinavil per legare due esistenze. E a proposito di champagne: non poi Milano che con Letizia e Gianmarco, Massimo e Milly e con Angelo che ha sposato Roberta Armani, t…



Copyright © Tech Thirst
by anuj ahooja

Built on Notes Blog Core
Powered by WordPress

Switch to our mobile site