Closed
Description
The frequency and vehemency of discussions around this subject beg for a change. *
and ^
were introduced for strings back when the language wasn't as strict on operator punning and overall meaning.
As a first, step, I propose we deprecate these two methods for string operations.
As a next discussion, we can talk about the possibility of using a different operator(s) for concatenation/repetition. Just using repeat
, with no operator, has been suggested, as well as the following for string concatenation:
++
, as a general sequence concatenation operator..
, similar to Lua
Things to consider:
- Would the same operator apply to other concatenation operations like vectors or multi-dimensional arrays? In that case, how would it interact with
vcat
/hcat
?