News for hackers. Stuff that matters.
Re:Concise algorithms written in Julia by coliveira on Friday July 09, 2021 @11:53AM (#27784984)
Anyone who is interested in these algorithms know what these single letters mean. This is very readable.
Re:Concise algorithms written in Julia by TheTrotters on Friday July 09, 2021 @05:58PM (#27788989)
I disagree. Virtually no one who worked even a little with these algorithms has used math symbols in their code. For better or for worse it messes up people's pattern recognition.
Re:Concise algorithms written in Julia by drran on Friday July 09, 2021 @02:32PM (#27786886)
No, it's not. Readability assumes that code is easy to read and easy to understand. This code is easy to read for those, who understood the algorithm already, but is hard to read for those who has no understanding.

It's the famous "write-only" problem of the Perl language, which uses symbols heavily too.

Re:Concise algorithms written in Julia by patrick451 on Friday July 09, 2021 @10:57PM (#27790766)
Code that mirrors a paper is the easiest to understand. Verbose, "descriptive" variable names just put more friction between you and the math. You are unlikely to reverse engineer the algorithm from the code unless you were already in a position to understand the terse mathy code to begin with. Just go read the danged paper.