<div dir="auto"><div class="gmail_quote" dir="auto"><div dir="ltr">Mark Morgan Lloyd <<a href="mailto:markMLl.fpc-pascal@telemetry.co.uk">markMLl.fpc-pascal@telemetry.co.uk</a>> schrieb am Sa., 2. Juni 2018, 10:53:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">However as Dennis points out + is also essential for vector operations. <br>
Perhaps either leaving it to the programmer to define what's needed <br>
would be the best approach, or alternatively splitting dynamic arrays <br>
into mathematical vectors and non-mathematical collections. Or relaxing <br>
the requirement that only predefined operators can be redefined, so that <br>
something like _ could be used for concatenation.<br></blockquote></div><div dir="auto"><br></div><div dir="auto">That needlessly complicates the parser as the compiler still needs to know them and they also need to be part of its operator precedence rules. Don't complicate the language for nothing! And in the end operator overloads are one of the best examples for syntactic sugar as you can easily achieve the same result with functions and methods. </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div class="gmail_quote" dir="auto"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div></div>