Message183198
| Author |
waldir |
| Recipients |
benjamin.peterson, eric.araujo, georg.brandl, gvanrossum, mark.dickinson, ncoghlan, pitrou, rhettinger, sbaird, stutzbach, vstinner, waldir |
| Date |
2013年02月28日.03:13:25 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1362021206.09.0.667552264094.issue12345@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Following-up sbaird's comment, I must point out that those aren't Python-specific results. Filtering them by appending &l=python to the urls yields:
- "TAU = 2 * Math.PI": 6
- "TAU = 2*Math.PI": 2
- "TAU=2*Math.PI": 0
- "TAU = Math.PI * 2": 0
- "TAU = Math.PI*2": 2
- "TAU=Math.PI*2": 1
(total: 11)
- "TAU = 2 * PI": 9
- "TAU = 2*PI": 12
- "TAU=2*PI": 0
- "TAU = PI * 2": 2
- "TAU = PI*2": 0
- "TAU=PI*2": 0
(total: 23)
Then again, the results for all languages are still helpful to estimate the overall adoption of the notation in code, and indeed the global usage of these patterns (in github only) is in the hundreds.
Also, it's worth taking a look at the usage of the twopi constant, which is already defined in several languages (http://en.wikipedia.org/w/index.php?oldid=509096802#Support_in_programming_languages), and has been manually defined in python quite often, proving its usefulness:
- https://github.com/search?l=python&q=twopi&type=Code (~2k results in python, and ~58k overall)
- https://github.com/search?l=python&q=two_pi&type=Code (~200 results in python, ~23k overall) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年02月28日 03:13:26 | waldir | set | recipients:
+ waldir, gvanrossum, georg.brandl, rhettinger, mark.dickinson, ncoghlan, pitrou, vstinner, benjamin.peterson, stutzbach, eric.araujo, sbaird |
| 2013年02月28日 03:13:26 | waldir | set | messageid: <1362021206.09.0.667552264094.issue12345@psf.upfronthosting.co.za> |
| 2013年02月28日 03:13:26 | waldir | link | issue12345 messages |
| 2013年02月28日 03:13:25 | waldir | create |
|