@bestelbus22@lemmy.world to Programmer Humor@lemmy.mlEnglish • 2 days agoThe meaning of thislemmy.mlimagemessage-square62arrow-up1512
arrow-up1512imageThe meaning of thislemmy.ml@bestelbus22@lemmy.world to Programmer Humor@lemmy.mlEnglish • 2 days agomessage-square62
minus-squarePennomilinkfedilinkEnglish10•edit-22 days agoIn Python you can use 🍆 as a variable name. Edit: oops, guess I was mistaken, you can use most Unicode but emojis are not valid.
minus-square@CanadaPlus@lemmy.sdf.orglinkfedilink10•1 day ago Edit: oops, guess I was mistaken, you can use most Unicode but emojis are not valid. That actually seems even more arbitrary. Like, do they just hate fun?
minus-square@embed_me@programming.devlinkfedilink11•2 days agoJust going by the reputation, you probably can do this in JavaScript
minus-square@scott@lemmy.orglinkfedilinkEnglish4•1 day ago~ $ python Python 3.12.10 (main, Apr 9 2025, 18:13:11) [Clang 18.0.3 (https://android.googlesource.com/toolchain/llvm-project d8003a456 on linux Type "help", "copyright", "credits" or "license" for more information. >>> ❗ = 'nah' File "<stdin>", line 1 ❗ = 'nah' ^ SyntaxError: invalid character '❗' (U+2757) >>> ~ $ node Welcome to Node.js v23.11.1. Type ".help" for more information. > const 👍 = 'test' const 👍 = 'test' ^ Uncaught SyntaxError: Invalid or unexpected token >
minus-square@mkwt@lemmy.worldlinkfedilink4•2 days agoThe source character set is implementation defined.
In Python you can use 🍆 as a variable name.
Edit: oops, guess I was mistaken, you can use most Unicode but emojis are not valid.
That actually seems even more arbitrary. Like, do they just hate fun?
Just going by the reputation, you probably can do this in JavaScript
~ $ python Python 3.12.10 (main, Apr 9 2025, 18:13:11) [Clang 18.0.3 (https://android.googlesource.com/toolchain/llvm-project d8003a456 on linux Type "help", "copyright", "credits" or "license" for more information. >>> ❗ = 'nah' File "<stdin>", line 1 ❗ = 'nah' ^ SyntaxError: invalid character '❗' (U+2757) >>> ~ $ node Welcome to Node.js v23.11.1. Type ".help" for more information. > const 👍 = 'test' const 👍 = 'test' ^ Uncaught SyntaxError: Invalid or unexpected token >
you might be thinking of Rust.
C supremacy
The source character set is implementation defined.