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.

52 comments on this post.
  1. Fragmentation is a Bad Excuse » App Crow:

    [...] is a Bad Excuse submitted b&#1091 anujahooja [link] [160 comments]PostedMarch 31st, 2012Filed Android RedditNo CommentsLeave a Comment Click here to [...]

  2. Die Vielfalt / Fragmentierung von Android - ein Problem? | Android Radar:

    [...] Entwickler: Think Different – über die positive Vielfältigkeit welche Android ermöglicht Fragmentation is a Bad Excuse –  darüber warum er als Entwickler Android für seine unterstüzte Gerätevielfalt lobt und [...]

  3. Potatoe Goodness:

    Great potatoes…

    Best dang taters around. Read More: curechronicles.com/?p=532…

  4. Get Fat:

    Count the fat…

    Calorie fat counter is here. Read More: techthirst.com/?p=1540…

  5. Get Style:

    Get some style…

    Go where the style is. Read More: techthirst.com/?p=1540…

  6. Get outdoors:

    Take a trip outdoors…

    Take a trip outside. Read More: techthirst.com/?p=1540…

  7. Need instagram:

    Get instagram…

    The best instagram viewer. Read More: dashfest.com/?p=113…

  8. Super Fly:

    Go flying high…

    Flying high again. Oh yeah. Read More: bjasc.org/?p=2078…

  9. Donkey kong:

    Donkey Kong Baby…

    Love that classic game. Read More: techthirst.com/?p=1540…

  10. Hair Spray:

    Get some hair spray…

    Looking good with some hairspray. Read More: techthirst.com/?p=1540…

  11. Seo Services:

    60 second seo like never before…

    An automated super seo system like never before. Read More: bjasc.org/?p=2078…

  12. Custom Chrome:

    Theres nothing like chrome…

    Chrome, Chrome never enough chrome. Read More: techthirst.com/?p=1540…

  13. URL:

    … [Trackback]…

    [...] Read More: techthirst.com/?p=1540 [...]…

  14. Discount Coupons:

    Some discount coupons….

    Great discount coupons for you. Read More: techthirst.com/?p=1540…

  15. annual free credit report:

    … [Trackback]…

    [...] Read More Infos here: techthirst.com/?p=1540 [...]…

  16. kengät:

    … [Trackback]…

    [...] Find More Informations here: techthirst.com/?p=1540 [...]…

  17. electric cigarette starter kit:

    … [Trackback]…

    [...] There you will find 14705 more Infos: techthirst.com/?p=1540 [...]…

  18. Local Sniper Bonus:

    … [Trackback]…

    [...] Informations on that Topic: techthirst.com/?p=1540 [...]…

  19. free government credit report:

    … [Trackback]…

    [...] Informations on that Topic: techthirst.com/?p=1540 [...]…

  20. Local Sniper Review:

    … [Trackback]…

    [...] Read More: techthirst.com/?p=1540 [...]…

  21. west palm beach criminal attorney:

    … [Trackback]…

    [...] Informations on that Topic: techthirst.com/?p=1540 [...]…

  22. Local Sniper Bonus:

    … [Trackback]…

    [...] Read More here: techthirst.com/?p=1540 [...]…

  23. here:

    … [Trackback]…

    [...] Informations on that Topic: techthirst.com/?p=1540 [...]…

  24. TV TS shemale escort london:

    … [Trackback]…

    [...] There you will find 46642 more Infos: techthirst.com/?p=1540 [...]…

  25. read more:

    … [Trackback]…

    [...] Read More: techthirst.com/?p=1540 [...]…

  26. mattress pad:

    … [Trackback]…

    [...] Read More: techthirst.com/?p=1540 [...]…

  27. driving directions google:

    … [Trackback]…

    [...] Read More: techthirst.com/?p=1540 [...]…

  28. cash lenders:

    … [Trackback]…

    [...] Read More: techthirst.com/?p=1540 [...]…

  29. manifesting riches:

    … [Trackback]…

    [...] Informations on that Topic: techthirst.com/?p=1540 [...]…

  30. kawa lavazza cena:

    … [Trackback]…

    [...] There you will find 5827 more Infos: techthirst.com/?p=1540 [...]…

  31. Sklep z kawą:

    … [Trackback]…

    [...] There you will find 163 more Infos: techthirst.com/?p=1540 [...]…

  32. important link:

    … [Trackback]…

    [...] Informations on that Topic: techthirst.com/?p=1540 [...]…

  33. blog link:

    … [Trackback]…

    [...] Read More here: techthirst.com/?p=1540 [...]…

  34. hosting coupon:

    … [Trackback]…

    [...] Read More here: techthirst.com/?p=1540 [...]…

  35. chat online:

    … [Trackback]…

    [...] Find More Informations here: techthirst.com/?p=1540 [...]…

  36. pixelflash usb 3.0 compact flash:

    … [Trackback]…

    [...] Find More Informations here: techthirst.com/?p=1540 [...]…

  37. Fast Commissions Bonus:

    … [Trackback]…

    [...] There you will find 48337 more Infos: techthirst.com/?p=1540 [...]…

  38. cake London:

    … [Trackback]…

    [...] Read More Infos here: techthirst.com/?p=1540 [...]…

  39. saveyourteendriver:

    … [Trackback]…

    [...] Find More Informations here: techthirst.com/?p=1540 [...]…

  40. more info:

    … [Trackback]…

    [...] Read More here: techthirst.com/?p=1540 [...]…

  41. Brahami:

    … [Trackback]…

    [...] Informations on that Topic: techthirst.com/?p=1540 [...]…

  42. Sprachaufenthalt französisch:

    … [Trackback]…

    [...] Informations on that Topic: techthirst.com/?p=1540 [...]…

  43. ciba vision dailies aquacomfort plus 90:

    … [Trackback]…

    [...] Read More here: techthirst.com/?p=1540 [...]…

  44. Ahgjprove List:

    …Additional Information ca be found here…

    [...]Awsome blog! I am loving it!! Will come back again. I am taking your feeds also.[...]…

  45. porno foto britni spirs:

    vertualnyi seks…

    [...]hi!,I love your writing so so much! percentage we keep in touch more approximately your post on AOL? I need an expert in this space to solve my problem. May be that is you! Taking a look forward to peer you.[...]…

  46. www seks babushki galereya:

    rasskazy grubyi seks…

    [...]Superb details might be identified on this world wide web blog site.[...]…

  47. domashnee porno studentok:

    timoshenko foto…

    [...]you make blogging glance[...]…

  48. skachat gedeon:

    porno s detmi…

    [...]Unquestionably believe that which you said. Your favorite reason seemed to be on the net the easiest thing to be aware of. I say to you, I certainly get annoyed while people think about worries that they just don’t know about. You managed to hit …

  49. skachat etks 1:

    porno 10 let…

    [...]I’m curious to find out what blog platform you are using? I’m having some small security issues with my latest blog and I’d like to find something more safeguarded. Do you have any recommendations?[...]…

  50. Piracy and fragmentation is NOT a factor- Real Droid Gaming:

    [...] moaning about this, there are also those  who feel it’s a non-issue. From the article “Fragmentation is a Bad Excuse”, the author Anuj Ahooja makes the point that the Android OS already has Relative Layout, which means [...]

  51. scam web site hosting:

    …A Friend recommended your blog…

    [...] What web host are you the usage of? Can I get affiliate hyperlink in your host? I wish web site loaded up as quickly as yours lol[...]…

  52. My Homepage:

    … [Trackback]…

    [...] Read More here: techthirst.com/?p=1540 [...]…