Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
joelgibson
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
joelgibson
4y ago
There are a lot of comments here saying that radians are the only true way to deal with angles, however I agree with the author of the original article that turns are a legitimate alternative - I just wouldn't use the same language. In
2.
▲
by
joelgibson
4y ago
This change isn't a matter of Python being slower than a compiled language, it's changing the meaning of the code. The line x = x + y creates a copy of the array x, adds y to it, and then sets the variable x to that new arr