7 Deadly Sins for Windows Phone Developers: Pride
Join the DZone community and get the full member experience.Join For Free
december 19, 2011. it’s holiday party time at the central ohio windows phone user group ( http://cowpug.org/ ). with bbq food, custom shirts & cakes, it’s time to celebrate the first 6 months of our user group – a wonderful group of passionate windows phone developers.
however, despite the holiday spirit, it is our single monthly meetup .. so something productive was called for before we started the good times. just for kicks, i did a 30 minute talk titled “7 deadly sins for windows phone developers!”. nope, nothing religious or biblical about it . this was a short talk built by simply drawing pointers from past windows phone development experiences...some common sense do’s & dont’s. i believe it was well-received or maybe the folks at cowpug are way too lenient with me. anyways, i had some fun mapping the 7 deadly sins to what we developers should stay away from while developing for the windows phone ecosystem. accordingly, i thought it might be a curious exercise to take the 7 slides for each of the “cardinal sins” for wpdevs and make a short article series out of it.
so, here goes. today, we begin with what the 7 deadly sins are and also delve into the first sin: pride . during each of the next 7 posts, you’ll see one sin & how it relates to some no-no’s for windows phone developers. i might make a few pointed comments, which i hope you would not take personally...i am in violation of several of the principles we will talk about in my own apps, which i am trying to fix. this is simply an attempt to summarize some best practices & great tools at our disposal as windows phone developers. these posts will not have any code to show; rather tons to links to point you to awesome resources. i would really appreciate it if you point out any resources i may be missing out.
so, what are the 7 deadly sins ?
the 7 deadly sins, also known as the capital vices or cardinal sins, is a classification of objectionable vices that have been used since early christian times to educate and instruct followers concerning fallen humanity’s tendency to sin. the currently recognized version of the sins are usually given as pride, envy, sloth, wrath, greed, gluttony and lust.
in each of the next seven posts, we will pick up one of these cardinal sins & see how it relates to windows phone development:
what is pride ?
pride is excessive belief in one’s own abilities, that interferes with the individual’s recognition of the grace of god. it has been called the sin from which all others arise. pride is also known as vanity.
why: well-meaning elementary school teachers told you to “believe in yourself.”
how does pride relate to windows phone development ?
– overconfidence, failure to acknowledge, boasting ..
many of us swear & stand by our code with confidence. while that’s not a bad thing, let’s not be a victim of overconfidence in writing a solid windows phone app & then continue delivering updates without breaking functionality. here are a few ways pride can get in the way of windows phone developers, preventing us from delivering a quality product to our users:
- overconfidence in marketplace submissions: check, check & check again on application certification requirements before being trigger-happy on submitting your hard work to the marketplace.
- did you know about the marketplace toolkit ?: run checks locally & submit to marketplace with confidence. a full article detailing use of marketplace toolkit is here .
- not using emulator tools : windows phone mango sdk brought along several enhancements to the emulator vm that allows for better testing locally. make sure to use them if they fit your app; a great article about emulator tools can be found here .
- why are you not using beta testers?: also new, is the way to publish your app to a closed group for testing/feedback before final release. this could be greatly beneficial in flushing out bugs & issues, if you have a trusted group of testers; more details about beta testing can be found here .
- unit test before shipping: this is especially true as you ship updates to your app; it is important to start building a battery of unit tests to make sure core functionality is intact. the silverlight unit test framework bits (details here ) should help.
- device + mom testing : your pride in how well the code runs in the windows phone emulator should not be a replacement for on-device testing, which is critical before any marketplace submission. physical devices often have quirks that expose edge conditions; additionally you get to see for a couple of days how your app feels in your palm. it is a great practice to have the emulator & device in contrasting theme/accent color for thorough testing. also, a lot of users of your app may be non-techies, who may have different expectations on ux than we developers do. so, make sure you have your mom or some non-developers test your app for feedback.
- use the isolated storage explorer : need to see how your app behaves as files/folders change in your isolated storage over time? make sure to utilize the handy isolated storage explorer to test out conditions of change in the isolated storage; details of usage here .
being aware of common certification/ux glitches:
- back navigation
- app exit
- requisite artwork
- no-connectivity mode
- improper app activation coming out of tombstoning
- declarations/user permissions for using location/push notification services
- non-metro look & feel (great resource here )
that’s it for not allowing “pride” to get in the way of being an awesome windows phone developer. there's probably a lot more to add; but my need for brevity & my thought process are calling it quits for the day. hopefully, you come back day #2 article in this series of “ 7 deadly sins for windows phone developers! “.
Published at DZone with permission of Samidip Basu, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.