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: looking at generic



Rolf Howarth wrote:
| I had the pleasure (I'll let you interpret that however you choose, 
| though it was quite interesting!)

Ah, yes, as in "That meal was... interesting."

| of doing a few months of C++ again 
| recently. The guy I was working was very smart and highly competent 
| technically but did have rather a tendency to overengineer and come 
| up with needlessly complex and generic designs, based heavily on 
| templates. The end result was that some simple changes that I would 
| have expected to take about half an hour in Java ended up taking the 
| two of us more than a week. I didn't like templates before; I like 
| them even less now. I'm afraid experiences like that (and others) 
| have made me very wary of generics in Java, even if they're not 
| exactly the same as C++ templates.

If that were the sort of experience I'd had, I might well share your opinion. And, no doubt, generics in Java will be just as prone to misuse. As to templates and C++, all I ask is that you remember that their power *can* be used for Good as well as Evil, and to not dismiss them completely. Someday, you may find a C++ program that you could love.

Glen Fisher


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

This email sent to email@hidden

References: 
 >Re: looking at generic (From: Rolf Howarth <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.