• Home
  • Family Newsletters

Dan and Cheryl’s Place

Feed on
Posts
Comments
« Farewell Harry Potter
What to Do About Taxes »

Java vs Objective-C

2007-08-03 by Dan

I’m a long-time Java developer (applications, not websites) who started doing a lot of Objective-C programming for Macs about a year and a half ago. I thought I’d comment on my impressions of both languages now that I have some experience in both.

Objective-C is a great language, but there are a few things I miss from Java:

  • Not needing to worry about linking
  • Having all relevant information in once source file (.java) instead of two (.m and .h)
  • Not needing to think about file organization
  • Having warnings printed every time I compile instead of just once, when the file is first changed
  • Easy bulk renames in Eclipse (Java), which are much more difficult in Xcode (Objective-C) though I hear this may change soon
  • Debugging in Eclipse — Xcode’s debugger isn’t very helpful
  • No memory leaks

Overall, these issues aren’t big enough to annoy me anymore. I guess I’ve gotten used to programming for a native platform again. Hopefully, the new versions of Objective-C and Xcode coming out in a few months will eliminate the last 3 items from this list. That’d be great.

On the flip-side, there are a few things I really like about Objective-C:

  • Being able to extend the built-in classes easily
  • Creating a user interface in Interface Builder is dead-simple

I haven’t found that the dynamic nature of the language has been all that wonderful. It certainly hasn’t hurt though. I’m sure I haven’t used it to its fullest potential yet, so I guess I’ll reserve judgment for now.


Related posts:

  1. Mephisto vs Movable Type ...
  2. Site Update ...
  3. Hard Drive Crash at Mozy Well, yesterday the hard drive in my computer at work...
  4. Programming: Master and Expert ...

Posted in Technology

Comments are closed.

  • Recently Popular

    • MozyHome for Mac is Out of Beta
    • Real Unemployment is Close to 10%
    • Fate: A Tribute to my Grandfather
    • Dragons
    • Obedience
  • Twitter Update

    • I'm almost done reworking my blog, but I'm too tired to finish it tonight. Good night. 4 hours ago
    • Links

      • Dan and Cheryl’s Pictures
      • Dan’s LinkedIn Page
      • Dan’s Twitter Page
      • Dave and Carly
      • Greg and Katie
      • Scott and Kristy
      • Seth and Lindsay
      • Steve and Cyndi
  • Categories

    • Business (2)
    • Inspiration (8)
    • Investing (9)
    • Personal (42)
    • Politics (12)
    • Science (1)
    • Technology (14)
  • Archives

    • December 2008
    • November 2008
    • October 2008
    • July 2008
    • June 2008
    • May 2008
    • April 2008
    • March 2008
    • February 2008
    • January 2008
    • December 2007
    • November 2007
    • October 2007
    • September 2007
    • August 2007
    • July 2007
    • June 2007
    • May 2007
    • April 2007
    • March 2007
    • February 2007
    • January 2007
    • December 2006

© 2006-2009 All Rights Reserved.