One of the books that I reference rejects dot-notation for properties in Objective-C 2.0. Is this a common mindset?
Note: This is an empirical, programming-related question regarding the popularity of a syntactic tendency. Obviously, the most useless answers are personal — “Well, I don’t use it,” — and the more interesting ones come from a larger universe of observations. If anybody has any actual statistics on the matter, that’s even better.
If you look at the code people post on Stack Overflow and Apple’s sample code, you’ll see that dot notation is very commonly used. Some people prefer the normal message-sending syntax for philosophical reasons, but it’s generally taught with dot-notation these days, so it’s not unreasonable to assume that’s what most people use.
The most popular and prominent example of “anti-dot” sentiment is Joe Conway’s post on the Big Nerd Ranch blog. The Big Nerd Ranch guys are very venerable Cocoa programmers, so people tend to take their opinions seriously.