Thread-topic: Lion: how is a downloadable JVM integrated with browsers and applets?
OK, it's not a mess.
Why don't you tell us what you find messy about it?
Are you perhaps bothered by the fact that the method passes in (a pointer to) a UIPickerView? But that is both a typical and a desirable pattern for delegate methods like this. It allows the delegate to access state information from the delegater, without having to hold an instance or share a global reference to the delegater, and it also allows the delegate to be used with/by any instance or subclass of the delegater.
That decreases coupling and increases flexibility. It's also called "good design".
On Jul 26, 2011, at 4:28 PM, Joshua Smith wrote:
> This is off-topic for this list, so apologies in advance. Other people have covered this ground before, so I'll let their words stand for themselves:
> And seriously, look at the trivial bit of code in this question and tell me that's not a mess:
> On Jul 26, 2011, at 3:25 PM, Ronald C.F. Antony wrote:
>> On 26 Jul 2011, at 14:47, Joshua Smith wrote:
>>> I only wish that the alternative they want us to use wasn't Objective C. That language is a complete mess.
>> Not sure what language you're talking about, because the ObjC I know is not a mess.
> Do not post admin requests to the list. They will be ignored.
> Java-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> This email sent to email@hidden
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden