• @lunarul@lemmy.world
    link
    fedilink
    12 months 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
      link
      fedilink
      22 months 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.