List replication operator

Chris Angelico rosuav at gmail.com
Fri May 25 11:51:48 EDT 2018


On Sat, May 26, 2018 at 1:40 AM, bartc <bc at freeuk.com> wrote:
> On 25/05/2018 16:27, Chris Angelico wrote:
>>
>> On Fri, May 25, 2018 at 10:58 PM, bartc <bc at freeuk.com> wrote:
>>>
>>> I'm in general not in favour of piling in special symbols into a language
>>> just to solve some obscure or rare problem.
>>>
>>> As I went on to demonstrate, function-like syntax (or even actual
>>> functions)
>>> could do that job better, by describing what the operation does and not
>>> leaving people scratching their heads so much when they encounter that
>>> funny-looking operator hidden in 20,000 lines of code.
>>>
>>> As for '@', if a variable name can come before it /and/ after it, and
>>> either
>>> or both can be dotted, wouldn't that cause it to be highlighted as an
>>> email
>>> address in many circumstances? Such as in code posted here.
>>>
>>> (OK, let's try it and see what happens. My Thunderbird doesn't do
>>> previews
>>> so I will have to post it first:
>>>
>>>     abc at def
>>>     abc at def.ghi)
>>>
>>> I would find that rather annoying.
>>>
>>
>> You're way WAY too late to debate the matrix multiplication operator.
>
>
> /The/ matrix multiplication operator?

No, just *A* matrix multiplication operator, we come in sixpacks.

ChrisA



More information about the Python-list mailing list