It could be easily and trivially backed out if a problem was found, even up until the very last second… as long as you kept the original PNG images, which seemed pretty obvious.It would also be pretty unambiguous about whether or not it was causing problems. It was something that would probably either work or it wouldn’t.It was independent of what everyone else was doing, so no one would have to stop and explain how something in the app worked.This seemed like a good project that I could work on: One thing that caught my eye was that the application had a lot of PNG image assets, and in my various adventures in the great city of life, I knew that you could often easily make PNG images even smaller. Oh, no, wait… that’s right, that’s not the way it happened… In reality it was obvious that no matter how much I might like to contribute to getting the app out the door, odds were that I would either slow things down or screw something important up because of my unfamiliarity with the code base. Just look at those graphs! Does it happen to parse JSON correctly? Are numbers arbitrarily and silently truncated to 32 or 64 bits haphazardly? Are floating point values preserved correctly when round tripped? Who cares! That simple graph tells me everything I need about those complicated technical issues: it’s fast! Anyone who suggested this had anything to do with the fact that I was the author of JSONKit was quickly silenced… So the first thing I did is start making huge, sweeping fundamental architecture changes like swapping out all the XML REST stuff with JSON, and switching the JSON parser that was currently being used with JSONKit, because JSONKit is really, really fast. Being just a few weeks away from launch obviously meant that there was a strong focus and getting something out the door. When I started here at Scribd, we were just a few weeks away from launching our first iPhone app– Float.īeing a new hire obviously meant that I didn’t know the code base. So you have a lot of PNG images in your iPhone app… This post was written by John Engelhart, an iOS developer at Scribd and author of the JSONKit library.
0 Comments
Leave a Reply. |