3 ms·
Do folks normally write code using the Greek alphabet? I totally understand reading/writing math papers in latex, or on paper using the traditional mathematical
by res0nat0r 5y ago
Do folks normally write code using the Greek alphabet? I totally understand reading/writing math papers in latex, or on paper using the traditional mathematical symbols, but does anyone really want to edit their Julia code in vim and type \scrA<tab> for a variable name? Seems extremely annoying and convoluted vs naming your variables alpha or sigma, etc.
- mbauman 5y agoAll the time. Incidentally, I got these unicode α and σ by copy-pasting from tab completion in an open Julia REPL. https://juliahub.com/ui/Search?q=α&type=code&w=true https://juliahub.com/ui/Search?q=α&type=code&w=true https://juliahub.com/ui/Search?q=σ&type=code&w=true https://juliahub.com/ui/Search?q=σ&type=code&w=true
- leephillips 5y agoBut I can type α with two keystrokes. “alpha” is five.
- res0nat0r 5y agoLooking up escape codes or cutting and pasting non ascii characters takes much longer than typing 5 letters.
- leephillips 5y ago> But I can type α with two keystrokes.
- res0nat0r 5y agoLearning that for all the mathematical symbols, still too time consuming.