On 9 May 2012 08:45, Dr. Alexander Klein
<alexander.kl...@math.uni-giessen.de> wrote:
> Am 14.02.2012 um 17:09 schrieb Carnë Draug:
>
>> On 14 February 2012 15:55, Jordi Gutiérrez Hermoso <jord...@octave.org> 
>> wrote:
>>> I still think that using reject and select instead
>>> of logical indexing is strange for Octave.
>>
>> Maybe a note can be added to the help text of this functions later
>> explaining that this functions allow for ease of read/write for users
>> that are familiar with smalltalk but that logical indexing is a more
>> octavish approach that may have better performace?
>
> while browsing the "miscellaneous" package, I noticed that what I tried to 
> achieve the Smalltalk way had been done before in LISP (Python?) style with 
> the functions apply, match, map, and reduce. Apply has been deprecated 
> already, but given logical indexing and the presence of accumarray and 
> structfun I think that similar arguments can be brought up against match, map 
> and reduce, or do I miss something here?

map is also already deprecated, not only apply. I'm not sure about
match and reduce but if no one can think of a reason to keep them, you
can deprecate them.

Carnë

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to