Sometime in the dim past, the TSA needed a way to randomly assign passengers to the pre-check boarding line. The solution was an iPad app that randomly points left or right when an agent taps the screen. This app, which Kevin Burke says “a beginner could build in a day,” was coded by IBM and cost the taxpayers a cool $47,000.
That seems like a lot. But could it really be coded in a day? Or is that just snark? Well, in case you’re curious, here’s the program:
I left out a bit of routine housekeeping stuff, and I didn’t bother writing the functions to display the arrows—which probably wouldn’t be more than a few lines each. That said, Burke is being generous. It shouldn’t take more than an hour or so to write.
I’ve never written an iPad app, but I would have learned from scratch if I knew I could make 47 large out of the deal. I would have expensed the Idiot’s Guide to iPad Programming, though, so call it $47,039.95. The government sure is weird sometimes.