On Sun, 3 Jun 2018, Ryan Joseph wrote:



On Jun 3, 2018, at 9:07 PM, Marco van de Voort <mar...@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.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to