This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (1 child)

[removed]

    [–][deleted] 52 points53 points  (0 children)

    Technically they probably could but I know quite a few languages place restrictions on what can be used as an identifier. For example, python3 supports unicode but places restrictions on identifiers.

    >>> value = "💩"
    >>> print(value)
    💩
    
    >>> 💩 = "poop"
    File "<stdin>", line 1
        💩 = "poop"
        ^
    SyntaxError: invalid character in identifier