Re:How Developers Choose Names
by whatshisface on Sunday April 18, 2021 @07:49PM
(#26857734)
A good name has maximal information density. If the string is compressible, you're wasting your reader's time. That's why I use all utf-8 glyphs to render my uniformly random and highly informative (from an information theory standpoint) variable names.
[ Parent
| on HN ]
You joke but symbolic programming languages like APL are kinda neat.
Re:How Developers Choose Names
by calvinmorrison on Sunday April 18, 2021 @09:51PM
(#26858436)
I do see this more often in UTF8 native platforms.
arr1 and arr2 might use subscripts for 1 and 2 with no side effect on plan9.
Why use "delta" when writing a delta symbol is so easy?
Julia not only supports Unicode, but embraces it culturally. You indeed very often see Δ in Julia code.
Re:How Developers Choose Names
by 174SIGSEGV on Sunday April 18, 2021 @11:33PM
(#26858905)
A good name is also memorable, consistent, easily decipherable, and works around namespace conflicts. Might be a best 2.7 out of 4 situation, I guess. Why 2.7/4 and not 3/4? Because the remainder was lost in translation to the ASCII gods.