News for hackers. Stuff that matters.
Re:Elena Programming Language by wjsetzer on Friday August 21, 2020 @08:35AM (#24234346)
I know you can use emoji as variables in Ruby. Unsure if you can in Python.

Imo it's fine to allow Unicode. Latin will still be the de facto standard character set, but it allows international users to code natively and allows for Easter eggs.

Re:Elena Programming Language by duckerude on Friday August 21, 2020 @09:19AM (#24234628)
Since PEP 3131 (https://www.python.org/dev/peps/pep-3131/) Python supports unicode in names, but only letters, not emoji. I have occasionally used variable names like ϕ when transcribing a formula in toy code.

The unicode is normalized. That can be used for trickery in rare circumstances. "global" is a keyword, but "𝐠𝐥𝐨𝐛𝐚𝐥" isn't, so you can use that if you absolutely require an attribute called "global".