Skip to main content
Stack Overflow
  1. About
  2. For Teams

Return to Answer

replaced http://programmers.stackexchange.com/ with https://softwareengineering.stackexchange.com/
Source Link
URL Rewriter Bot
URL Rewriter Bot

According to is it bad is it bad, you can use some unicode characters, but not all: You are restricted to characters identified as letters.

>>> α = 3 
>>> Σ = sum 
>>> import math 
>>> √ = math.sqrt 
 File "<stdin>", line 1 
  √ = 3 
   ^ 
SyntaxError: invalid character in identifier

Besides: I think it is very cool to be able to use unicode as identifiers - and I wish, i could use all.

I use the neo keyboard layout, which gives me greek and math symbols on extra layers:

αβχδεφγψιθκλνοπφστ[&ωξυζ
∀⇐CΔ∃ΦΓΨ∫Λ⇔Σ∈QR∂⊂√∩Ξ

According to is it bad, you can use some unicode characters, but not all: You are restricted to characters identified as letters.

>>> α = 3 
>>> Σ = sum 
>>> import math 
>>> √ = math.sqrt 
 File "<stdin>", line 1 
  √ = 3 
   ^ 
SyntaxError: invalid character in identifier

Besides: I think it is very cool to be able to use unicode as identifiers - and I wish, i could use all.

I use the neo keyboard layout, which gives me greek and math symbols on extra layers:

αβχδεφγψιθκλνοπφστ[&ωξυζ
∀⇐CΔ∃ΦΓΨ∫Λ⇔Σ∈QR∂⊂√∩Ξ

According to is it bad, you can use some unicode characters, but not all: You are restricted to characters identified as letters.

>>> α = 3 
>>> Σ = sum 
>>> import math 
>>> √ = math.sqrt 
 File "<stdin>", line 1 
  √ = 3 
   ^ 
SyntaxError: invalid character in identifier

Besides: I think it is very cool to be able to use unicode as identifiers - and I wish, i could use all.

I use the neo keyboard layout, which gives me greek and math symbols on extra layers:

αβχδεφγψιθκλνοπφστ[&ωξυζ
∀⇐CΔ∃ΦΓΨ∫Λ⇔Σ∈QR∂⊂√∩Ξ

added 34 characters in body
Source Link
MattDMo
  • 103.3k
  • 21
  • 251
  • 239

According to is it bad, you can use some unicode characters, but not all: You are restricted to characters identified as letters.

α = 3
Σ = sum
import math
√ = math.sqrt
File "", line 1
√ = 3
^
SyntaxError: invalid character in identifier

>>> α = 3 
>>> Σ = sum 
>>> import math 
>>> √ = math.sqrt 
 File "<stdin>", line 1 
  √ = 3 
   ^ 
SyntaxError: invalid character in identifier

Besides: I think it is very cool to be able to use unicode as identifiers - and I wish, i could use all.

I use the neo keyboard layout, which gives me greek and math symbols on extra layers:

αβχδεφγψιθκλνοπφστ[&ωξυζ
∀⇐CΔ∃ΦΓΨ∫Λ⇔Σ∈QR∂⊂√∩Ξ

According to is it bad, you can use some unicode characters, but not all: You are restricted to characters identified as letters.

α = 3
Σ = sum
import math
√ = math.sqrt
File "", line 1
√ = 3
^
SyntaxError: invalid character in identifier

Besides: I think it is very cool to be able to use unicode as identifiers - and I wish, i could use all.

I use the neo keyboard layout, which gives me greek and math symbols on extra layers:

αβχδεφγψιθκλνοπφστ[&ωξυζ
∀⇐CΔ∃ΦΓΨ∫Λ⇔Σ∈QR∂⊂√∩Ξ

According to is it bad, you can use some unicode characters, but not all: You are restricted to characters identified as letters.

>>> α = 3 
>>> Σ = sum 
>>> import math 
>>> √ = math.sqrt 
 File "<stdin>", line 1 
  √ = 3 
   ^ 
SyntaxError: invalid character in identifier

Besides: I think it is very cool to be able to use unicode as identifiers - and I wish, i could use all.

I use the neo keyboard layout, which gives me greek and math symbols on extra layers:

αβχδεφγψιθκλνοπφστ[&ωξυζ
∀⇐CΔ∃ΦΓΨ∫Λ⇔Σ∈QR∂⊂√∩Ξ

added 30 characters in body
Source Link

According to is it bad, you can use some unicode characters, but not all: You are restricted to characters identified as letters.

α = 3
Σ = 3sum
import math
√ = 3math.sqrt
File "", line 1
√ = 3
^
SyntaxError: invalid character in identifier

Besides: I think it is very cool to be able to use unicode as identifiers - and I wish, i could use all.

I use the neo keyboard layout, which gives me greek and math symbols on extra layers:

αβχδεφγψιθκλνοπφστ[&ωξυζ
∀⇐CΔ∃ΦΓΨ∫Λ⇔Σ∈QR∂⊂√∩Ξ

According to is it bad, you can use some unicode characters, but not all: You are restricted to characters identified as letters.

α = 3
Σ = 3
√ = 3
File "", line 1
√ = 3
^
SyntaxError: invalid character in identifier

Besides: I think it is very cool to be able to use unicode as identifiers - and I wish, i could use all.

I use the neo keyboard layout, which gives me greek and math symbols on extra layers:

αβχδεφγψιθκλνοπφστ[&ωξυζ
∀⇐CΔ∃ΦΓΨ∫Λ⇔Σ∈QR∂⊂√∩Ξ

According to is it bad, you can use some unicode characters, but not all: You are restricted to characters identified as letters.

α = 3
Σ = sum
import math
√ = math.sqrt
File "", line 1
√ = 3
^
SyntaxError: invalid character in identifier

Besides: I think it is very cool to be able to use unicode as identifiers - and I wish, i could use all.

I use the neo keyboard layout, which gives me greek and math symbols on extra layers:

αβχδεφγψιθκλνοπφστ[&ωξυζ
∀⇐CΔ∃ΦΓΨ∫Λ⇔Σ∈QR∂⊂√∩Ξ

added 194 characters in body
Source Link
Loading
Source Link
Loading
lang-py

AltStyle によって変換されたページ (->オリジナル) /