3 ms·
Don't let this guy see math.tau.
by robertlagrant 5y ago
Don't let this guy see math.tau.
- zasdffaa 5y agoThis guy sees your point and this guy does indeed wonder why it's there when 2*Pi will do. But if it's about python the answer is simple - unlike many other languages python does fold constants, but does't fold expressions using variables even if the variable is never changed so there's an unavoidable cost unless you write out the value literally, or have it as a constant. Or - in PEP 628 - it's just a bit of a larf https://peps.python.org/pep-0628/ https://peps.python.org/pep-0628/ Perhaps this guy should grow a sense of humour.
- robertlagrant 4y ago> Perhaps this guy should grow a sense of humour. Agreed!