Hacker News new | past | comments | ask | show | jobs | submit login

  t.rotate(a, v);
  ...
  t rotateBy: a around: v
I will consider only first and last as the rest is just fluffing around.

Objectively speaking (yeah right) there is no difference and both serve the same purpose. For whatever reason the first form is more visually and mentally pleasing to me.

If it was written by me it would be:

  t.rotate(angle, around);
would also have something more meaningful instead of t unless the scope is very small.



Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: