.* is the operator for elementwise multiplication, * on two 1-dimensional 
vectors does not work.

There's also a very strong desire from people who've been using the 
language for some time to remove the concatenation semantics from [], and 
separate array literal construction from array concatenation. So trying to 
introduce [] for string concatenation is unlikely to be very popular. 
Otherwise what would you use as syntax to create an array of strings for 
example?


On Monday, April 27, 2015 at 7:09:25 AM UTC-7, Scott Jones wrote:
>
>
>
> On Monday, April 27, 2015 at 9:50:10 AM UTC-4, Yuuki Soho wrote:
>>
>> There's one argument for * over +. That string concatenation is not 
>> commutative, and that + main property is to be commutative.
>>
>> Personally I don't mind * for string concatenation. If anything I would 
>> prefer to have matlab style concatenation, using []; it would make sense to 
>> use concatenation syntax for concatenation.
>>
>
> +100 to the suggestion of using [] for a general concatenation operator! 
>
> (could ^ be deprecated as well, and replaced with something that also 
> doesn't look either like bitwise XOR or exponentiation?)
>

Reply via email to