Re:Computer Scientists Invent an Efficient New Way to Count
by ericmcer on Friday May 17, 2024 @09:33AM
(#40389666)
I don't think there is a single variable name or comment in this entire code block that conveys any information. Name stuff well! Especially if you want random strangers to gaze upon your code in wonder.
[ Parent
| on HN ]
Re:Computer Scientists Invent an Efficient New Way to Count
by tgv on Friday May 17, 2024 @09:48AM
(#40389832)
The names are literally taken from the paper.
Re:Computer Scientists Invent an Efficient New Way to Count
by seaman1921 on Friday May 17, 2024 @01:03PM
(#40391965)
well the paper also contains the code so I doubt anyone who looked at the paper cares about this paste - for folks who did not read the paper this is not very readable
Re:Computer Scientists Invent an Efficient New Way to Count
by sneva on Friday May 17, 2024 @09:51AM
(#40389859)
> Name stuff well
OP is following the same variable names of the article. I prefer that over changing the variable names and then figuring out what variable name maps in code to the article.
Re:Computer Scientists Invent an Efficient New Way to Count
by foobarian on Friday May 17, 2024 @09:43AM
(#40389767)
Speaking of, one of my favorite discoveries with Unicode is that there is a ton of code points acceptable for symbol identifiers in various languages that I just can't wait to abuse.
>>> ᚨ=3
>>> ᛒ=6
>>> ᚨ+ᛒ
9