Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Add and AddPick should return reference to added element
Re: Add and AddPick should return reference to added element [message #1689 is a reply to message #1681] Mon, 13 March 2006 21:27 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14266
Registered: November 2005
Ultimate Member
aroman wrote on Mon, 13 March 2006 14:24

Quote:

array.Add(someThing).ProcessSomething(r);


I'm not sure this is a good idea. It gives the impression that ProcessSomething is operating on array rather than someThing.

- Augusto





Actually, I thought that it is not a good idea for exactly the opposite reason - because it operates on the Array, not someThing.

In any case, this different interpretations indicate ambiguous interface.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Linux SDL [BUG?][WORKAROUND]
Next Topic: subclassing LineEdit is ugly
Goto Forum:
  


Current Time: Fri Jul 18 17:09:51 CEST 2025

Total time taken to generate the page: 0.03553 seconds