Monday, March 12, 2012 [Tweets] [Favorites]

Objective-C, Unversioned

Chris Lattner:

We’ve had internal discussions and have explicitly decided not to version the language any more. Instead of “Objective-C 2.0” or some such, there is now just “Objective-C as of Xcode 4.4” or “Objective-C in LLVM Compiler/Clang 4.0”.

If you’d like to reason about or conditionalize your code on various language features, please use the Clang feature checking macros.

It makes sense to check for features when writing code, but I think version numbers are useful for talking about, documenting, and referencing the language.

1 Comment

Are three version numbers useful, though? IDE, Compiler, Language? It's a source of confusion.

Stay up-to-date by subscribing to the Comments RSS Feed for this post.

Leave a Comment