Podcast Search

Developing Perspective

#40: Ship It

Select a time to play from there. The line being spoken is highlighted as the audio plays.

0:00:00[MUSIC PLAYING]

0:00:03Hello, and welcome to Developing Perspective.

0:00:05Developing Perspective is a podcast discussing news of note

0:00:08in Apple, iOS, and the like.

0:00:10I'm your host, David Smith.

0:00:11I'm an independent iOS developer based in Herndon, Virginia.

0:00:14This is show number 40, and today is Tuesday, May 1.

0:00:17Developing Perspective is never longer than 15 minutes,

0:00:19so let's get started.

0:00:21All right, today I'm going to be talking about my process

0:00:25for releasing a new app.

0:00:26Like I mentioned yesterday, I'm working

0:00:28to audiobooks, which is one of my sort of main sort of bread and butter apps, and it's

0:00:33kind of something I've been working on for a couple of months now in reality.

0:00:36And so I kind of thought it would be interesting to share what that process looks like, how

0:00:41I start with something that is in the store right now, you know, it's shipped, it's working,

0:00:46it's making me money, and take that and sort of decide how I'm going to work on it, how

0:00:52I'm going to improve it, what makes sense.

0:00:54So essentially what typically happens when I launch an app is I'm going to take something,

0:01:01put it in the store, you kind of say whatever, like the last version 3.0, say, and I ship

0:01:07it and you kind of hope, you pray, you see what happens and you kind of see how people

0:01:13like it, some people don't, some people like it, some people won't.

0:01:16I've been doing this for long enough that I can't, I must say that I don't really read

0:01:20my app store reviews very much anymore.

0:01:23just not a lot of useful information in there very often.

0:01:27I tend to base my sort of decisions on things like people who take the

0:01:31effort to write me an email and do so in a sort of a non-anonymous way

0:01:35that I can react to.

0:01:36But you know, you kind of get into a bug fix phase where I'm like,

0:01:40okay, now I'm going to add, you know, oh, some reports are a problem

0:01:44here.

0:01:45Oh, I shipped something that was, you know, that was silly, that was

0:01:47silly, that was silly.

0:01:48Kind of work my way through that process.

0:01:51And then I will sort of hit a point where I'm like, "Okay, I think it's about time to

0:01:58kind of do something new."

0:02:00Or "I'd like to improve it."

0:02:03Or you know, kind of maybe wonder if I'd do better sales if I did something else.

0:02:10And so this kind of is a tricky thing to do, to sort of make that decision.

0:02:15Because I want to always make sure that I'm not shipping updates just for the purpose

0:02:19of shipping updates.

0:02:20I think there's kind of, you can kind of get used into this cycle of like, okay, well,

0:02:24you know, software that gets updates is, that's what you do.

0:02:30It's like, I'm writing software, it needs an update.

0:02:31I'm writing software, I need an update.

0:02:34But that cycle you can also kind of end up just sort of with the Microsoft Word approach

0:02:38or you, well, we're just going to throw in features.

0:02:40We're throwing features, throwing features.

0:02:42Whereas what I tend to do for a major update is to kind of think, okay, what are some of

0:02:48the marquee features that people have talked about that they would like, or features they

0:02:54don't like how they work currently, those kinds of things.

0:02:58I put all that together.

0:03:00And then I take those, work through from all the help desk requests we've gotten, and think

0:03:07about, okay, so that's the starting point.

0:03:10Here's the big features.

0:03:11Here's things I'm thinking about.

0:03:14And then I'm like, OK, let's draw a line, kind of branch the code and say, OK, so I

0:03:19might do some bug fixes on what's in the store now, but I'm going to work on this new thing.

0:03:24And this is just probably worth pointing out that this is slightly different than my process

0:03:27when I'm working on an update that's motivated by Apple.

0:03:33So like when the Retina iPad came out, I needed Retina graphics.

0:03:37That update is just kind of like, I see the need, I do it, and you move on.

0:03:40But for these kind of more functional updates, I then I can draw a line, say, okay, now I'm

0:03:46working on whatever numbering thing I'm working on.

0:03:50I'm working on version 5.0.

0:03:52And just kind of branch the code and start diving into that.

0:03:56And for me, the way that I kind of work that tactically, I'm not a big fan of these, or

0:04:01I tend to not do things like feature branches and kind of have this very complicated sort

0:04:06configuration management process internally

0:04:09for a project where I'm the only person working on it

0:04:12because it tends to just sort of

0:04:14make... I don't tend to find a lot of value in that.

0:04:17I build it if I'm doing something very experimental or when I'm doing something

0:04:21that really just

0:04:23really touches a lot of things and breaks stuff in

0:04:26ways that would be... if I needed to undo, it would be kind of annoying to do

0:04:30undo through the git process. Like for example when I recently converted audiobooks to

0:04:33ARC,

0:04:34I made a branch for that because it changes literally every class in the application was

0:04:38changed and in a way that is not reversible easily.

0:04:42So I did that in a branch, but generally I just kind of work and you just kind of start

0:04:46plotting along on big features.

0:04:50Maybe it's just my background, but I've found it better to get a feature working and then

0:04:56make it look good than it is to spend a lot of time up front in things like Photoshop

0:05:02or fireworks or even sometimes even a pen and paper, I find that I'm often even just

0:05:06quicker just like, "Okay, well, I know it's kind of going to be a table view with some

0:05:10stuff on it, so okay, let's make a table view and see what that looks like."

0:05:13Then I can play with it.

0:05:14I can throw data into it.

0:05:15I can kind of mock it up in a way that is actually useful, and that's not work that

0:05:19I'm going to necessarily be throwing away.

0:05:23So that's kind of my process internally that I know some people like each screen mocked

0:05:27up, you know, specifically in Photoshop and all this.

0:05:31I tend to, it's like, all my buttons to start with are just UI round wrecked buttons.

0:05:37And all my text is just Helvetica standard, and you just kind of run with that.

0:05:44And then as I go, I'll work on sort of improving that, cleaning it up, fixing it.

0:05:49As I'm going, I'm definitely not thinking about performance, really.

0:05:52I'm not thinking about sort of file management or sort of just clean up things.

0:06:00I'm not really worried about--

0:06:01and back in the old days, it was like,

0:06:03I wouldn't worry as much about even somehow precise

0:06:06my memory management was in the days before ARC.

0:06:10My goal was to make it work, to make it work quickly

0:06:12so I could see if this is something

0:06:13that I would actually want.

0:06:17And as I'm doing that, this is especially

0:06:19something relevant for a project like, say, audiobooks,

0:06:22or even when I'm working on my recipe book, my other app,

0:06:25where these apps have been around for years.

0:06:28audiobooks is coming up on its three year anniversary of being released into the app

0:06:32store which is kind of crazy for, you know, the app store's only been around for three

0:06:36and a half years I think, or maybe four, or four years from the SDK launch I think. And

0:06:41so it's been a long time. There's a lot of code that's kind of, some of it's been, is

0:06:46probably from that initial commit, you know, way way long ago, you know, years ago. And

0:06:54It's always one of those things that you kind of have to, as a developer, be constantly

0:06:58sort of thinking about is you have to fight the urge to rewrite everything.

0:07:04You see something and you're like, "Oh, I could do that better."

0:07:06You know, say a classic example now that we've run into a lot is there's new block-based

0:07:10APIs for all kinds of things, or I can write my own block-based API.

0:07:15And I have to kind of always be thinking to myself, "Does doing that make the user's experience

0:07:22better. And does doing that, how likely am I to get it right? How likely am I to actually

0:07:28correctly replace, if I'm taking, if I'm not adding functionality, if I'm just trying to

0:07:35take something that works, you know, something that takes input A and has output B, and I'm

0:07:40just going to change the middle, what's the likelihood that I'm going to give it input

0:07:43A and then it's going to give me C back? And more often than not, all the weird edge cases,

0:07:50all the things that you've kind of dealt with are hard to recreate.

0:07:54And often this is something that I know I've seen myself do dozens of times, is you have

0:08:00the bigger problem of you say a given function that you're thinking of rewriting, that you're

0:08:06thinking, "Oh, I could make that better.

0:08:07Oh, I could make it faster.

0:08:08Oh, I could use this hot new thing and it'll be awesome."

0:08:16function has some built-in latent, some built-in assumptions inside of it and if

0:08:21you rewrite it you'll often rewrite it in perhaps improving it to the ideal and

0:08:27what you'll end up doing then is that ends up breaking a whole bunch of other

0:08:32things that were assuming that it was slightly broken that you've coded around

0:08:36these problems and this isn't a novel concept that I'm talking about but it's

0:08:40something that as a software engineer you have to be think cognizant of that

0:08:44that you have to keep in mind that your code is likely not perfect, and beyond that, your

0:08:50code is actually probably kind of broken, in some way at least.

0:08:55And you have to be careful about ripping it out and changing it too much, because you

0:09:00may actually be making it worse, or you may be creating this whole can of worms for yourself

0:09:05down the road.

0:09:06And then related to that is just something that I always try and think about as I'm like,

0:09:10when I see something that I'd love to fix that, oh, I'd like to change that, is, you

0:09:14that will the user notice that I did this and if the user won't notice I

0:09:20almost never do it and unless it makes my life as a developer much better and

0:09:27much simpler so then you know an example of a lot of these things is you'll often

0:09:32kind of rewrite something refactor it because you can because you oh I could

0:09:38make it cleaner code I could make it better code I always get now I try and

0:09:43shy away from that because if it works now, I should just run with that. If it doesn't

0:09:48work, okay, well then I'm fixing it and the user will notice. And then the only exception

0:09:52are those areas where it really makes my life better. So it's like recently I converted

0:09:56audiobooks to ARK. And ARK makes my life easier, makes it simpler, means that I'm not doing

0:10:03a lot of this sort of bookkeeping grunt work in my coding, I'm focusing on sort of higher

0:10:08level features. And so for me, that's kind of my rule of thumb. And then I kind of work

0:10:15from there, once I've got these big features, you kind of get into this polish phase. And

0:10:20I kind of like to think about this kind of like a lathe, which is, if you're not familiar

0:10:24with this, a tool for carpentry and metalwork, where you take a big hunk of wood, put it

0:10:29on a thing and it spins it. And then you can take a tool and just run it across the lathe.

0:10:35And you kind of have, you know, you may start off with a big chisel, like a big honking

0:10:41piece of metal that you run across the wood, and you're just letting huge chunks fly.

0:10:46And this is kind of that big feature phase.

0:10:48You're just getting it working.

0:10:49You're getting the rough shape of what you want.

0:10:52And then, okay, so now you're past that, so now you're going to go in there with kind

0:10:55of a fine pick.

0:10:56And you're going to be cleaning up these little details.

0:10:58You're going to be making sure, this is where you're like, okay, I'll make the buttons look

0:11:02nice.

0:11:03you know, tweaks and performance things.

0:11:06Oh, I'll make sure, you know, deal with some of these edge cases.

0:11:10And then you get into the fun part.

0:11:11But also perhaps the most dangerous part is the polish phase.

0:11:14So this is you've got your sandpaper out and you're running it along what you're trying

0:11:17to create.

0:11:18You're just trying to get rid of all the rough edges, all these little things that may annoy

0:11:24your user, may make them, or just adds that sort of richness to the experience that shows

0:11:30that you actually are paying attention to what they want.

0:11:32I say this is dangerous because this is the phase that I find a lot of independence gets stuck in

0:11:37Where they'll never actually ship or it'll take hugely more time than they actually need to ship

0:11:44Because they constantly have that thought of "Oh, what if I did X? Oh, what if I did Y? I could make it better

0:11:52I could do this, I could do that" and you're starting to get beyond actually polishing something into

0:11:58You know you're pulling out your chisel again, and you're actually hacking away at something

0:12:03That was almost ready to ship now if what you had to start with was not good well

0:12:07Then you need to fix it, but if what you're doing is just creating new features and doing these things

0:12:13You have to be so careful of that

0:12:15I just think that I've seen so many times in you know my friends and other independents

0:12:19Or you'll kind of get stuck and you'll be like oh, man. This is almost ready. Oh, man. This is almost ready

0:12:24I'm going to ship it soon." And then six months later you don't. And it's often because you're

0:12:29kind of, instead of polishing, you're still kind of polishing with one hand and you've

0:12:36got a chisel in the other and you're kind of still hacking away on it. And so then you

0:12:39start breaking things and things start not working exactly how you'd like. So you just

0:12:43kind of have to draw a line at some point and say, "All I'm going to do is tweak things.

0:12:47All I'm going to do is polish things." And you hit a point that you're like, "Okay, I've

0:12:51I got my release candidate.

0:12:52I recently hit that, I think last Wednesday or so, I hit my release candidate.

0:12:57And so now I'm not working on any sort of really new stuff.

0:13:01I'm just trying to polish and tweak the experience, do bug fix testing,

0:13:05make sure that it actually works, make sure that, and this is where you start,

0:13:09I have whatever, 40 different devices, not 40, I have a dozen different devices.

0:13:13All kinds of different software configurations, things.

0:13:16I have, luckily I was able to recently drop my support for 3.0, so

0:13:20to, you know, I have an iPad and I can put iPod touches on three various flavors of three

0:13:25that I don't need to use anymore. And I can, you know, just sit there and I'll run it on

0:13:29my iPhone 4S, an iPhone 4, an iPhone 3GS, which is all I need to do, I think, and I

0:13:35think a 3G. Make sure it works on there. I'll put it on an iPad, put it on an iPad 2, put

0:13:41it on an iPad 3, just kind of play with it and make sure that it works across the way.

0:13:45Install the old version, do a bunch of stuff, install the new version, make sure that it

0:13:49updates correctly and then recently I've added iCloud support so then you're doing

0:13:53kind of even this other level of testing where I'm going back and forth

0:13:57and then you ship it. And I think it's an important thing to celebrate that shipping.

0:14:02It's something that a lot of developers actually never get to or

0:14:05it's a thing that

0:14:07and if you don't relish that, if you don't

0:14:08when you sell it, it's like yeah man I did it and you know take your wife out for a nice dinner

0:14:12or get a beer or whatever, whatever you like

0:14:15and celebrate the fact that you know you shipped

0:14:18That's a big deal.

0:14:19Alright, so that's today's show.

0:14:21Hope you enjoyed it.

0:14:22If you have any questions, comments, concerns, as always, hit me up on Twitter.

0:14:25I'm @_davidsmith.

0:14:28Underscore D-A-V-I-D S-M-I-T-H.

0:14:31Otherwise, follow me on Twitter if you like what I say.

0:14:33If you like the show, as always, please tell a friend.

0:14:35Tell two, tell three.

0:14:36It's the best thing you can do if you like it and want me to keep recording.

0:14:40Alright, otherwise, happy coding and I'll talk to you later.

0:14:43Bye.