[Gambas-user] New feature in the Array classes

Brian G brian at westwoodsvcs.com
Fri Feb 12 18:44:25 CET 2021


For simplicity and clarity, would it not be better to just have a sorted array as a base type, rather than all these compromises. 

a = new sorted_array[] 
and 
a = new array[] 

Thank You 
Brian G 


From: "Jussi Lahtinen" <jussi.lahtinen at gmail.com> 
To: "Gambas mailing list" <user at lists.gambas-basic.org> 
Sent: Wednesday, February 10, 2021 9:55:55 AM 
Subject: Re: [Gambas-user] New feature in the Array classes 




For backward-compatibility, I think it's better to leave the current 
method untouched. 



Because of method overriding? 
It would be nice, if you could leave out optional arguments when overriding, then this could also be implemented as optional argument. 

Jussi 


----[ http://gambaswiki.org/wiki/doc/netiquette ]---- 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210212/3991ee68/attachment.htm>


More information about the User mailing list