On Monday, April 27, 2015 at 11:01:06 AM UTC-4, Yuuki Soho wrote:
>
> On Monday, April 27, 2015 at 4:21:11 PM UTC+2, Kevin Squire wrote:
>>
>> Just a note, Matlab-style [a b] concatenation has been deprecated in 
>> Julia v0.4 
>> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2FJuliaLang%2Fjulia%2Fpull%2F7998&sa=D&sntz=1&usg=AFQjCNHmqjCKqnOsfMc-5YrBN-fIFYYxmQ>.
>>   
>> See the linked issues for details.  The main issue is that this 
>> functionality makes it challenging to create arrays of arrays (or arrays of 
>> ranges), which are less useful in Matlab, but quite useful for general 
>> programming.
>>
>
> As I understand it, only [a, b] is deprecated, with [a b] and [a; b] still 
> being valid horizontal and vertical concatenation.
>
> I find a bit inconsistent that [a b] means something different when a and 
> b are string as opposed to arrays, but maybe that rest upon the wrong idea 
> that string are array-like objects.
>

Why is it a wrong idea that strings array-like objects?
If you need to use mutable strings (which is most cases for what I'm 
doing), you need to treat strings as vectors.

Scott 

Reply via email to