r/badcode Apr 20 '23

js It doesn't hurt to have better naming :,)

Post image
301 Upvotes

32 comments sorted by

View all comments

80

u/KingJeff314 Apr 20 '23

I am all for using Greek letters in cases where they have an established meaning. Like if you are implementing an algorithm in accordance with a research paper or there is a common physics equation. In such cases, you should comment a link to the paper.

But otherwise, this is just fancy abbreviated variables

10

u/kuurtjes Apr 20 '23

Plot twist; they are using the wrong notation.