Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView thoughts (or afterthoughts)



On Nov 8, 2006, at 6:28 PM, Matt Neuburg wrote:
What difference does that make? In your code, the parameters can have any
name you like. m.

Actually it makes quite a bit of difference. Sometimes you copy the method header into your code from the docs for convenience. I know I do. Sure you can change it, but the point is "why should I have to?". If we didn't care about convenience or consistency, what difference do Bindings make, for example? ;-)


While you're coding (if you don't remember to change the arguments' names) it's a pain to start writing 'tableView' when you meant 'tv', etc. Why should I have to change anything? There's really no reason why they shouldn't be consistent, especially in the Cocoa frameworks themselves.

Good development is all about speed, convenience, and consistency, as you well know. I'm actually grateful to Stephane for doing what I've been too lazy to do (even though I've grumbled to myself about the fact many times) and actually file a bug report against it. It's just one of those minor annoyances that adds up over time.

--
I.S.



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: NSTableView thoughts (or afterthoughts) (From: Matt Neuburg <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.