Re:What’s New in Python 3.8
by Pxtl on Monday October 14, 2019 @07:17PM
(#21253917)
Oh god, this. I want a language that as I type, != Gets replaced with a proper ≠ not equals sign and proper symbols for AND, OR, and NOT.
[ Parent
| on HN ]
Re:What’s New in Python 3.8
by roywiggins on Monday October 14, 2019 @10:29PM
(#21255062)
Use a ligature font!
https://www.hanselman.com/blog/MonospacedProgrammingFontsWit...
Here you go: https://github.com/tonsky/FiraCode
Check out Lean Prover's online editor: https://leanprover.github.io/live/latest/
They borrow syntax from LaTeX math-mode to allow symbol entry, such that you can type "\ne" and as soon as you hit the space after the "e", you get ≠ instead.
The language plugin for Visual Studio Code does the same thing.
Lean Prover's not exactly a programming language, but :
def foo (a b : ℕ) : ℕ → ℕ → ℕ :=
λ a b, a + b
Still looks decent.I think it has to be all or nothing though, since if it's optional the odds of getting decent editor support for it is low.