Tuesday, November 29, 2011

The Lazy Programmer: Language Selection

When I was in graduate school one of my fellow students was a C++ fanatic.  To him, every software problem was best solved by C++.  To his credit he probably could solve any problem using C++, but was that really the best use of his time?  By assuming C++ as the best language choice for every problem was he being lazy or simply over working himself?

The common adage to describe the scenario above is "when all you have is a hammer, every problem looks like a nail."  Of course you need a hammer because there are a lot of nails in the world, but there are also a lot of other types of problems.  C++ is well suited to a large (and shrinking, depending on who you talk to) problem domain, but is it really best language to use to develop a web site?  How about loading data into a database, parsing text files, or creating CRUD GUI interfaces?

Each of the problems I listed above have programming languages that fit the problem domain better than any other language.  It may take some time up front to learn a new language, but that time spent is well worth the effort of a simpler to develop to solution.

The lazy programmer, instead of letting tools drive solutions, lets the solutions drive the tools.

Monday, November 28, 2011

Hello World Version 2.0

What a crazy year.  So the blog kind of fell off as work got really busy along with life.  Now that I have gotten life back to a normal pace I plan to resume writing both the blog and some new iPhone apps.  I have a few ideas kicking around and will be working on them as I have time.

iAutoCalc is on my list of TODOs that needs to get updated to the iOS 5.  I have ran it under each version of iOS and it appears to be working fine, but the code will not compile on anything past iOS 3 right now.  Thus, some of my older posts on objective-c unable to compile in some instances.  I'm hoping to get it cleaned up soon.