5 ms·
If the goal is to match math notation then wouldn't (^) or (+) make more sense? Not necessarily. & is the ASCII symbol associated with logical 'and' that most
by cygx 10y ago
If the goal is to match math notation then wouldn't (^) or (+) make more sense?
Not necessarily. & is the ASCII symbol associated with logical 'and' that most programming languages have settled on, including Perl6, so for internal consistency, it makes sense to use it. Also note that the ampersand, while pretty rare, is sometimes used for that purpose in mahematical notation (https://en.wikipedia.org/wiki/List_of_logic_symbols https://en.wikipedia.org/wiki/List_of_logic_symbols).