2 ms·
Keeping the 2 around can be annoying in math for exactly the same reasons. Also by the way, 2 * Math.PI is only one character less than Math.TAU. Even if you w
by CogitoCogito 10y ago
Keeping the 2 around can be annoying in math for exactly the same reasons.
Also by the way, 2 * Math.PI is only one character less than Math.TAU. Even if you were to bind it locally to pi and tau, then 2 * pi is 4 characters whereas tau is 3. I mean it's a little annoying to keep track of, but it's certainly not the hardest thing programmers have to deal with.
edit: I'm a bit new to hacker news and am not really sure why I'm seeing these italics...
edit2: I see the issue is the asterix. Everywhere you see ' * ' imagine there are no spaces around them. I'm not sure how to "escape" an asterix...
- nercht12 10y ago>> I'm not sure how to "escape" an asterix... You can't, sorry. It's automatically formatted. >> Even if you were to bind it locally to pi and tau I use things like Math.PI2 or PI2, so it's not any longer.