Objective C 2: Learning from Ruby

On November 2, 2007, in General, by Neil Stevens

Objective C 2 is out with the release of OS X 10.5, and it looks like they’re learning from Ruby. ObjC ‘properties’ look just like what you get from attr_accessor/attr_reader/attr_writer in Ruby, heh.

Likewise the new enumeration system looks great, and of course the garbage collection I’m sure will be fantastic. Not that Ruby is the only language that has those features, but with the properties, I have to think the inclusion of RubyCocoa into the OS has pushed the ObjC people into going in this direction when improving ObjC itself.

I wonder how well the GnuStep people are keeping up…

 

Comments are closed.



Nima Jooyandeh facts.