3 ms·
>I thought it was strange to be able to use greek characters and the like in the code We have been doing that for AGES. Not just in languages like APL, but eve
by coldtea 11y ago
>I thought it was strange to be able to use greek characters and the like in the code
We have been doing that for AGES. Not just in languages like APL, but even in Javascript, Go and tons more...
https://rosettacode.org/wiki/Unicode_variable_names https://rosettacode.org/wiki/Unicode_variable_names
- S4M 11y agoYes, Unicode variables are a thing, but I am afraid it makes the language less approachable if it requires a special keyboard or at least some tweaks in the IDE to input those characters - and I say that as someone who added some macros in emacs to enter French accentuated characters with an American keyboard. I think it's one of the reason APL isn't much used these days...
- raiph 11y agoPerl 6 does not require use of Unicode characters in code and does not require a special keyboard. It does require some mechanism to input Unicode if that's what you want to do but that wil be true for any language -- it's nothing to do with Perl 6.