4 ms·
keep it in the copy paste buffer, obviously /s. For an even more extreme version, look at Perl6's atomic operators: https://docs.perl6.org/language/unicode_asc
by roblabla 8y ago
keep it in the copy paste buffer, obviously /s.
For an even more extreme version, look at Perl6's atomic operators: https://docs.perl6.org/language/unicode_ascii#Atomic_operators https://docs.perl6.org/language/unicode_ascii#Atomic_operato... (or any other operators on this page for that matter).
IMO, it's not a "bad idea". Code is meant to be read, not written. If it renders the code more readable, then that's a win. But obviously, whether those symbols actually make the code more readable is debatable.
- enriquto 8y ago> whether those symbols actually make the code more readable is debatable. In general, it would be rather silly to use greek letters for variable names. Yet sometimes, they tend to make numerical code much more readable when you are copying a mathematical formula verbatim. Compare using "πθ" versus "M_PI*theta" several times on the same formula, for example.