850
submitted 1 month ago by Maven@lemmy.zip to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] lunarul@lemmy.world 2 points 1 month ago

Isn't unicode support for programming not something new? I've seen a lot of code using Cyrillic or Chinese characters.

[-] toastal@lemmy.ml 2 points 1 month ago

Inside of strings or comments or as an encoding is close to universal now, but for wide support for operators & variable names I would generally it isn’t. Some languages straight up do not support non ASCII like OCaml, others only support bicameral scripts like PureScript, but others like JavaScript can support Unicode for variable names but doesn’t support defining infix operators or uses Unicode for any existing operators. Raku is probably the most Unicode-friendly language, & some of the mathier ones like Agda as well.

this post was submitted on 11 Oct 2024
850 points (98.1% liked)

Programmer Humor

32476 readers
916 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS