3 ms·
I see tau as a thing that's mostly useful to programmers because writing "2*Math.PI" (or equivalents) everywhere is a good way to bloat up a trig-intensive algo
by buzzybee 10y ago
I see tau as a thing that's mostly useful to programmers because writing "2*Math.PI" (or equivalents) everywhere is a good way to bloat up a trig-intensive algorithm. I have no comment on its applicability to other uses of mathematics.
- CogitoCogito 10y agoKeeping 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.