Heart doesn't work for me, but other symbols seem fine. I don't know why. I
also didn't need to quote them. Here is a REPL session from a
Rakudo 2016.01.1:

> sub Δ($x) { say "got $x" }
sub Δ ($x) { #`(Sub|106407520) ... }
> Δ(23)
got 23
> class Foo { method Δ($x) { say "method got $x" } }
> Foo.new.Δ(23)
method got 23


--Brock


On Tue, Apr 12, 2016 at 9:26 AM, Theo van den Heuvel <vdheu...@heuvelhlt.nl>
wrote:

> @Parrot Raiser and @Luca. I will make sure to add Texan alternatives in
> case other people need to take over.
> I use triangle symbols to make internal symmetries in the code visible,
> and I have no problem pronouning or typing them.
> The code is substantially more readable with them. The same is true for
> the mathematical symbols provided by Perl6 itself.
> I can pick my own tools and I use tools that handle UNICODE well (e.g.
> Atom).
>
> Am I alone in running into 'Bogus postfix' error when I try to define a
> method like brave❤?
>
> Parrot Raiser schreef op 2016-04-12 14:50:
>
>> Mathematical symbols might be a legitimate case, since they are
>> generally pronounceable. Otherwise, special characters cause problems
>> both in entry from the keyboard and thinking about the code. (What
>> does it sound like if you describe it to yourself? foo.heart?)
>>
>> On 4/12/16, Luca Ferrari <fluca1...@infinito.it> wrote:
>>
>>> On Tue, Apr 12, 2016 at 9:44 AM, Theo van den Heuvel
>>> <vdheu...@heuvelhlt.nl> wrote:
>>>
>>>>
>>>> ..
>
>
>>> unless you have to process the source code via some other tool that is
>>> unable to understand your symbols.
>>> I tend to refuse to code using more keys than those in my keyboard, my
>>> fault.
>>>
>>>
>>> Luca
>>>
>>>
>

Reply via email to