[fpc-pascal] Feature announcement: Dynamic array extensions
Michael Van Canneyt
michael at freepascal.org
Sun Jun 3 17:36:06 CEST 2018
On Sun, 3 Jun 2018, Ryan Joseph wrote:
>
>
>> On Jun 3, 2018, at 9:07 PM, Marco van de Voort <marcov at stack.nl> wrote:
>>
>> But nobody + an item to their item list. The operator is "+" not "add".
>
> What other operators could be used then? There’s only so many characters on the keyboard after all.
>
> My only interest is because it’s fast to type and looks nice. Swift allows you to overload any operator in the unicode set so we could make up our own crazy stuff. :)
>
> list • 1; // list.Add(1);
That is a horrible idea.
Think of it:
You will read someone else's code, and have absolutely no clue what it does.
Michael.
More information about the fpc-pascal
mailing list