4 ms·
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. $контрольная-р
by zoffix222 11y ago
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.
- tlikonen 11y agoThat'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.
- collyw 11y agoThat'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?)
- xaduha 11y agoJust because you can doesn't mean you should, but Perl isn't a kind of language that's going to stop you.
- zoffix222 11y agoI 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