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.

3,213 trackbacks

  1. Moncler Outlet Italia…

    A causa giubbotto Moncler donna colori vivaci, disegno speciale, materiale accuratamente selezionati e di buona qualità nella loro collezione, giubbotti Moncler attirato attenzioni di tante donne immediatamente. Ci sono piumini Moncler scontati ovunque…

  2. オロビアンコ バッグ メンズ 新作…

    ちょっとそこちょうどあなたに素早く頭を与えたいと思った。 |あなたはテキストの単語コンテンツ記事はの画面からはみ出ているように見える Firefoxの。問題またはインターネットブラウザとは何か|これは書式形式である場合、私はよく分からないの互換性が、私はを考え出した私はあなたが知っているように投稿したいと思います。 デザインはしかしとてもよく似合う!あなたが得るホープすぐに問題固定。 乾杯…

  3. jordan retro 7 black Friday sale…

    AUCKLAND Luna Rossa chiude in bellezza il secondo round robin della “Louis Vuitton Cup” e si avvicina sempre pi alla conquista della finale di Coppa America. L’imbarcazione italiana ha centrato un’altra vittoria, la diciannovesima su venti regate. …

  4. ポールスミス 長野…

    ヘイ!私は、これは知っているオフトピックが、あなたは私ができる場所を知っていたかと思いまして、見つける私のコメントフォームのためのキャプチャプラグインを?私はあなたと同じブログのプラットフォームを使用していると私はあるんですトラブル1を見つけること?どうもありがとう!…

  5. prada boots deals black cyber monday…

    l’occasion cette semaine de sa dixi猫me et derni猫re visite dans la ville situ茅e sur les bords de la mer Noire, la commission de coordination du Comit茅 International Olympique (CIO) pour les Jeux de 2014 a eu un aper莽u de ce qui attendra les visiteurs e…

  6. toms kids cyber monday deals…

    PALERMO. A parte gli strumenti, ci sono vari accorgimenti per mantenere in salute il prato all’inglese. La parola d’ordine è idratazione. Alle piantine non deve mai mancare l’acqua. Nel periodo vicino alla semina dice Vincenzo Lo Porto dei Vivai Lo…

  7. jordan retro 6 black Friday 2014…

    More resources Ozark Mountain Paddlers: This group keeps up to date on rivers and hosts clinics and more. May 18 on the James River starting at Delawaretown to Shelvin Rock….

  8. オロビアンコ リュック サック…

    まずは|素晴らしいと言う私がしたいと私がしたいブログ!私は簡単な質問を持っていた心|私はあなたがいないをすればそうでない場合は、聞きしたいのですが、その。 自分の考えあなた自身とクリアを中央にどのように 見つけるために知っている前書き込み私がいた。 私がしたいた苦労|私の考え得ることに私のクリア思考の心をそこ。 失われた無駄な 私は本当にない|書き込みしかし、それはでの喜びを取る楽しむ一般的である傾向がされているちょうど最初の10〜15分のように思える単純に開始する方法を把握しよう。どれ推奨またはヒ…

  9. prada perfumes black friday deals…

    Nel frattempo, dopo aver seminato micro sfere nel bagno e nel soggiorno, Marco e Luca si erano rifugiati in dispensa alla ricerca del succo di frutta. Il grande si stava arrampicando sullo scaffale (pieno di bottiglie) per raggiungere il brik….

  10. chanel 折りたたみ財布…

    インターネットのそれほどではない読者は正直に言うとが、あなたのブログは本当に素晴らしい、それを維持する!私が先に行くと、あなたのブックマークう|後で戻ってきてサイトサイトを。 すべてのベスト…

  11. アンテプリマ バッグ 年齢…

    スウィートブログ!ヤフーニュースでの周りサーフィンブラウジング間、私はそれを見つけました。ヤフーニュースに記載されて取得する方法について| 提案のヒント何かありますか?私はしばらくの間しようとしてきたが、私はそこに着くように見えることはありません! 感謝…

  12. オロビアンコ 時計 クオーツ…

    おかげための素晴らしい投稿! I 確かに楽しんだそれを読むこと、あなたかもしれには、あなたのブログをブックマーク私がいることを確認背中後年。週末|あなたの偉大続ける朝|書き込み、素敵一日を持っている私が奨励したい!…

  13. ルブタン 靴 中古…

    リーダー、優れたのもの、私のフィードグーグルニュースにウェブサイト私はちょうどこれを追加しました。 できない十分に得る!…



Copyright © Tech Thirst
by anuj ahooja

Built on Notes Blog Core
Powered by WordPress

Switch to our mobile site