Home > iPhone SDK > My Last Word on Dot Notation
My Last Word on Dot Notation
Posted on Monday, August 10, 2009 by android apps market for tablests
The dot notation discussion has taken far more of my time lately than it was wise for me to spend. I've said pretty much all that I need to say on the topic at this point. I don't care if you use it, just don't tell me I'm wrong for doing so.
Just for the record, I was horribly opposed to Objective-C's dot notation when it first came on the scene. i had programmed in both C++ and Java over the years, but I much preferred Objective-C, and I saw dot notation as being a step backwards and a really bad idea for a number of reasons.
For the book, Dave and I decided we were going to follow Apple's lead when it came to coding style and coding conventions, so I bit the bullet and started using properties for the book exercises. Now that I've used them regularly for about a year and a half, I have completely changed my opinion, and I'm pretty sure a lot of my original issues with dot notation were just rationalizations of my own resistance to change.
Arguing theory has only so much merit. In practice, with a little thought and understanding, properties and dot notation work well and can be used to make code considerably more readable and faster to write. If you haven't spent some real quality time using them - if you are arguing only from language theory - then you need to spend some time with them before you condemn them further.
Just for the record, I was horribly opposed to Objective-C's dot notation when it first came on the scene. i had programmed in both C++ and Java over the years, but I much preferred Objective-C, and I saw dot notation as being a step backwards and a really bad idea for a number of reasons.
For the book, Dave and I decided we were going to follow Apple's lead when it came to coding style and coding conventions, so I bit the bullet and started using properties for the book exercises. Now that I've used them regularly for about a year and a half, I have completely changed my opinion, and I'm pretty sure a lot of my original issues with dot notation were just rationalizations of my own resistance to change.
Arguing theory has only so much merit. In practice, with a little thought and understanding, properties and dot notation work well and can be used to make code considerably more readable and faster to write. If you haven't spent some real quality time using them - if you are arguing only from language theory - then you need to spend some time with them before you condemn them further.
Category Article Dot Notation, iPhone SDK
Powered by Blogger.
Blog Archive
-
▼
2009
(496)
-
▼
August
(65)
- Local Events and Activities Gadget
- Click-to-Flash
- Flash Post Mortem
- Nested Arrays
- Twitter Quotes Gadget
- Dog and Puppy Photos Gadget
- Just a Few More Vacation Thoughts
- GoComics Social Gadget
- You Guys Rock
- Flash is Dead! Long Live Flash!
- Jail Quotes Gadget
- Google Search results optimized for feature phones...
- Google Search results optimized for feature phones...
- Daily Horoscopes Social Gadget
- The bright side of sitting in traffic: Crowdsourci...
- The bright side of sitting in traffic: Crowdsourci...
- Chess Social Gadget
- Tile Game Social Gadget
- YouTube Mobile App Expands to Five New Languages
- YouTube Mobile App Expands to Five New Languages
- To Autorotate or Not to Autorotate
- Google Apps Connector for BlackBerry Enterprise Se...
- Google Apps Connector for BlackBerry Enterprise Se...
- iPhone Sketch Book Mini-Review
- NY Times Crossword Social Gadget
- Another Pimp My Code
- Photos Social Gadget
- "Knowledge speaks but wisdom listens."
- "Knowledge speaks but wisdom listens."
- New Image Search Results for Feature Phones
- New Image Search Results for Feature Phones
- Property-List Driven Detail Editing Pane
- SCRABBLE Social Gadget
- Stamps on Colnect Gadget
- Sentiment by Newssift Gadget
- Ultimate Waterfall Gadget
- Fish Aquarium Deluxe 3D Gadget
- Weather 3D Gadget
- Interesting...
- Contact EMailer Gadget
- Animated Nature Gadget
- Nice iPhone Application Idea.
- iPhone Sketch Book
- Blocks on iPhone
- On iPhone Competitors
- Workshop Done
- The Iterative Web App: Outbox for Emails in Limbo
- The Iterative Web App: Outbox for Emails in Limbo
- Boot Camp Imminent
- OpenGL ES Update
- My Last Word on Dot Notation
- Fish Tales Gadget
- Daily Picture Sudoku Gadget
- How to Use Dot Notation and Properties
- Dot Notation Redux: Google's Style Guide
- The Dot Notation Controversy
- Translations and Xcode
- Artistic Greeting Cards Gadget
- Tycoon Games Gadget
- Multi-Row Delete in 3.0
- NinjaWords
- A Mac App Store
- Me, the Hypocrite Apparently
- iSimulate
- This Concerns Me Greatly
-
▼
August
(65)