Sunday, July 19, 2009

WebOS, Android, and iPhone OS hello worlds

Links to hello world tutorials:

Android apps are in java, so you have a very rigid environment and your compiler should catch a lot of errors up front:
http://developer.android.com/guide/tutorials/hello-world.html

Palm's WebOS is in javascript, so it's not type-safe, and very loose environment:
http://developer.palm.com/index.php?option=com_content&view=article&id=1758

iPhone apps are in Objective C, so like Android, it is type-safe:
http://developer.apple.com/iPhone/library/documentation/Xcode/Conceptual/iphone_development/100-iPhone_Development_Quick_Start/iphone_development_quick_start.html

Some comments:
  • I've done programming in JavaScript, Objective C, and Java. Mostly Java, so I'm a bit biased towards it, but on the surface, it does seem to be the friendliest of the 3 frameworks in terms of a nice structure it provides, not having a lot of extra little places you have to put things just to make it run, and the API is easy-to-understand on the surface without the need for a lot of explanation.
  • All 3 examples appear to have localization in mind, but of the 3, WebOS is the worst in that you have to copy & modify portions of the html files--it's not immediately clear which text strings should be translated without use of a nice UI tool to highlight them.