News for hackers. Stuff that matters.
Re:I can read C++ and Java but I can’t read Smalltalk (2000)... by Jtsummers on Saturday December 18, 2021 @11:05AM (#29605503)
Because a and v would be more typical variable names than rotateBy and around. Note that the author did not change the variable names in the translation process, they left them alone. So you could drop any variable in there but the calling of rotate becomes clearer (subjective) by switching to keywords and no longer relies on programmer discipline to have good variable names.

And yes, they probably could be used for other purposes. The names are mnemonics for "angle" (a) and "vector" (v). How you arrive at them and what you'd use them for could easily vary across a system.

There are no comments on this comment yet.