U++ framework
Do not panic. Ask here before giving up.

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: 14290
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: Sat Apr 25 07:28:15 GMT+2 2026

Total time taken to generate the page: 0.00546 seconds