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,521 trackbacks

  1. ray ban frames price in uae…

    Namco Bandai Cook or Be Cooked Sweepstakes where US residents can win a trip to the Food Network studios in NYC and more. The Cook or Be Cooked Sweepstakes ends on 12/15/2009….

  2. Louboutin pas cher…

    I am having a problem with the eliminate ad/unlimited cd up grade. Patient while using free application without having complications, and executed the particular no cost upgrade via itunes currently without any issues. When i decided to bring the actua…

  3. ray ban says:

    ray ban…

    What a pleasant YouTube video it is! Remarkable, I loved it, and I am sharing this YouTube record with all my colleagues Fragmentation is a Bad Excuse ….

  4. prada saffiano leather wallet 1m1133…

    Sunto delle pessime notizie, soluzioni per ora nessuna….

  5. femme ray ban krys boulogne…

    There are two major forces that shape who we are and what we buy. Our personal motives, attitudes, and decision making abilities guide our consumption behavior. Our thoughts, feelings, attitudes, and patterns of behavior determine what we buy, when we …

  6. celine luggage tote red price…

    Lorsque cette identification est, les individus sont sûrs qu’ils obtiendraient rien mais le pansement essayer élégant et chic qui serait bon pour leur garde-robe. Vous pouvez éventuellement simplement trouver ces vêtements informels sont luxueux et él…

  7. gucci vest and tie…

    Effettuati, infine, interventi nei confronti di laboratori industriali, presso i quali sono stati individuati 32 lavoratori irregolari, dei quali 22 cittadini extra comunitari non in regola con il permesso di soggiorno. Un’attivita’ di impresa rischi…

  8. cheap foamposites…

    Hello everyone, I am sure you will be enjoying here Fragmentation is a Bad Excuse by watching such funny video lessons….

  9. cheap air jordan…

    Un po’ di fortuna, che non guasta, ma soprattutto buona lettura della gara, visto che proprio all’ultima bolina il Team Prada in ritardo per tutta la regata si 猫 aggiudicato il primo punto della serie di semifinale con i temibili americani di One Wor…

  10. borsa gucci 2014…

    The leather exterior of this bag is tanned using a natural vegetable tanning technique. This gives each bag a unique look, as the natural grain of the leather creates distinct markings that will change as the leather ages. However, be warned that this …

  11. outlet firenze gucci…

    The Randy Larson Fourplex is a top rated sports complex with multiple fields for both Baseball and Softball. Under the Plant City Parks and Recreation Department, the tournament schedules can be found on their website….

  12. prada key ring card case…

    L’iniziativa sta riscuotendo un notevole interesse negli ambienti digitali dove ci si occupa di disabilit e accessibilit , come la mailing list pdl3486 e secondo Pietrosanti “saremo in molti, tra l’altro con i nostri scanner, a operare insieme per e…

  13. mulberry outlet in york…

    il mondo visto da una scarpa…

  14. ray ban wayfarer jaune fluo…

    May 2, 2014: IRS Notice 2014 33 Provides Relief on Implementation of FATCA and Coordination Rules…

  15. timberland boots 88580…

    Stayed here last year, then were moved to Delphin Palace in May when we returned. We booked Diva again but was hoping to be moved again. Loved the Diva again but not quite as good as 18 months ago. Usually get bags etc left in room by maids but none le…

  16. jordan femme homme elephant…

    lyrics, stories, and an essay on the power of evil, not intended for the public, but to influence HIS….

  17. air jordan 11 low snakeskin release date…

    On trouve des graines o霉?Le souci 茅tant consid茅r茅 comme une plante ornementale, il n’est pas difficile de trouver des semences. La majorit茅 des jardineries en offrent. Assurez vous toutefois qu’il s’agit bien du Calendula officinalis. La maison Rich…

  18. outlet borse gucci online…

    DNR: Pipeline work could kill rare speciesWisconsin wildlife officials say a pipeline construction project could kill members of several threatened and endangered species. More>>…

  19. wayfarer ray ban origine des mots…

    Local Eats…

  20. scarpe hogan 2011 2012…

    Dymethazine, like Superdrol is not Occurring naturally and shoulds be Avoided for sale, Now That the laws are Clarified’m his area. It is Rapidly disappearing from the shelves, since there Were not too many clones out there….

  21. air jordan 4 toro bravo unboxing…

    Premier arriv茅 au stade Demba Diop, vers 15h30, Balla Gaye 2 est apparu comme ayant perdu un peu de poids. Il a paru moins lourdaud et emp芒t茅 que lors de ses apparitions d’avant combat. Comme s’il avait entendu les conseils des sp茅cialistes qui ont a…



Copyright © Tech Thirst
by anuj ahooja

Built on Notes Blog Core
Powered by WordPress

Switch to our mobile site