HN user

JScarry

32 karma
Posts0
Comments5
View on HN
No posts found.

I'm fixing someone else’s code right now and a few single line comments would have saved my client thousands of dollars.

Today I put in a log statement to see why the code deletes data from the database if there is no new temperature data for the time period. The cron job has been running all day and so far every time it attempts to delete the data, there is no data to delete.

Another line runs a different script if the time is 15:00. No idea what is magical about that time. I added a bunch of log statements to see what happens at 15:00 that is different from every other hour of the day. So far I have no clue.

I’m sure the original coder had a reason for inserting these bits of code, but damned if I know what it was.

There are dozens of instances like this in the code. A one line comment would have saved me hours of work and the client several thousand dollars.

It’s not too bad considering the alternatives. Not all of my customers are able to download software so I still sell through catalogs. They get a 35-40% discount—which is more than Apple charges. Plus I need to press discs and print manuals.

It would be nice if Apple would fix the search features on the Mac and iOS Apps stores so people can actually find my software.

Agreed. It takes a while to figure out what iOS7 breaks in your app, but there are plenty of resources out there that tell you exactly how to fix all of the problems. Sliding content under the top menu was the big one for me, but it’s a one line fix. (Or three if you like your if statements on multiple lines.) Turning off the bright colors for links and buttons is another one liner. It was probably less than 20 lines of code and a day’s work to update my apps.

There are a bunch of new features that I’m adding. I especially like the ability to speak text with a Siri-like voice.

I think my interfaces fit into the iOS7 ecosystem, but until they start enforcing the policy on Feb 1, I won’t really know. Figuring out what the rules really mean is always a big unknown in the app review process.