News for hackers. Stuff that matters.
Re:Perl 6 Introduction by zoffix222 on Saturday November 28, 2015 @12:53PM (#10641766)
I wouldn't call it a misfeature. I think especially in math stuff it would be useful. I've used Δ in my math for Color module and it both has the natural mathematical meaning and must not change after I calculate it: https://github.com/zoffixznet/perl6-Color/blob/master/lib/Co...

What is a mis-feature is you can't assign-create to these variables when they're part with sigil-bearing variables, so, for example, here I ended up using a sigiled-Δ, which isn't as pretty :) https://github.com/zoffixznet/perl6-Color/blob/master/lib/Co...

Re:Perl 6 Introduction by raiph on Saturday November 28, 2015 @01:39PM (#10641912)
Aiui it's for any time a coder prefers that a noun's name does not emphasize/convey the basic nature of the thing the noun refers to.

Fwiw you can assign to such "raw" nouns if you declare that the raw noun you're declaring refers in turn to a rw container. For example, a plain `$` is a container (an anonymous Scalar):

  my \Δ = my $ = 100;
  Δ = 200;
I came up with the following idiom when pondering snippets on twitter and the fundamental problem that twitter treats strings of the form `@foo` as twitter handles which messes up the formatting of tweets containing `@` sigil'd nouns:

  my \array =@= 1,2,3; array[2] = 200; say array;
displays

  [1 2 200]