News for hackers. Stuff that matters.
Re:Perl 6 Released by zoffix222 on Saturday December 26, 2015 @06:49PM (#10795744)
Something I see no one mentioned, dashes (and apostrophes) aren't the only neat thing you can use in term names. You can use other languages too. $контрольная-работа is a valid variable name.
Re:Perl 6 Released by tlikonen on Sunday December 27, 2015 @04:40AM (#10796958)
That's nice. Common Lisp implementations, too, allow any characters in symbol names, even spaces and the empty string. Javascript allows wide character set too. I think it's good that languages break out of [a-zA-Z_-]. That said, I'd use pretty limited charset in internationally developed multi-OS code base. People have different keyboards, input systems, knowledge etc.
Re:Perl 6 Released by collyw on Sunday December 27, 2015 @08:39AM (#10797407)
That's something I wouldn't like to see in source code, as I wouldn't have a clue how to type it. How do Russians see that issue? (Is it Russian?)
Re:Perl 6 Released by zoffix222 on Sunday December 27, 2015 @10:52AM (#10797740)
I think you've missed the point: you can program in your native tongue. I think the expectation is a Russian company would not care whether you can type their variable names :P
Re:Perl 6 Released by xaduha on Sunday December 27, 2015 @09:19AM (#10797499)
Just because you can doesn't mean you should, but Perl isn't a kind of language that's going to stop you.