Perl6 is looking quite fresh considering how old you think it is. I just submitted an article I'd seen to HN which shows how a formula like...
4.7kΩ ± 5%
... can be parsed inline with Perl6 code.Perl6 is looking quite fresh considering how old you think it is. I just submitted an article I'd seen to HN which shows how a formula like...
4.7kΩ ± 5%
... can be parsed inline with Perl6 code.It's interesting to me how often people cite "Unicode in code" as some sort of amazing thing. I once posted on S.O. about the idea that maybe we should have a programming language where the vast array of options in Unicode were exploited to make things like Regular Expressions more readable (avoiding the backslash plague alone would be worth it).
I got smacked down by people complaining that they didn't know how to type anything but ASCII.
Sigh.
re: Unicode - Perl6 does already use unicode characters for some of its operators. Take the Hyperoperator »« (http://perlcabal.org/syn/S03.html#Hyper_operators):
my @a = 1..5;
my @b = 6..10;
my @c = @a »*« @b; # => 6, 14, 24, 36, 50
And there are >> & << synonyms for those who find using unicode chars too odd: @c>>++; # => 7, 15, 25, 37, 5