[Gambas-user] Some suggestion

Rob sourceforge-raindog2 at ...94...
Sun Dec 3 21:09:45 CET 2006


On Sunday 03 December 2006 13:04, Jose J. Rodriguez wrote:
> I think using Remove for getting values could be confusing.
> Maybe we need MultiPop and MultiPush?

MultiPop, to me, would mean "pop multiple values into another 
array" and MultiPush would mean "push multiple values into this 
array".  (In fact, that's how push and pop work in Perl, though 
it's automatic in Perl's case.)

I think that having Remove return a value wouldn't be that 
confusing, because all existing code would still work.  Only 
those of us who are used to similar functionality in other 
languages would need to pay attention to the return value.

Rob




More information about the User mailing list