Re: [csswg-drafts] [css-values] Math Constant phi for Golden Ratio (#4702)

Firstly, `var(--phi)` is more cumbersome to read and write than plain `phi`, especially inside other parentheses. If they know what they are doing, authors could even rewrite many calculations to incorporate the rational and the irrational summand of φ or its divisor elsewhere, thereby obfuscating the use of the Golden Ratio, which degrades code readability and thus maintenance. 

Secondly, due to its casdading nature, a custom property can be overwritten with a different value, but φ is a **constant** with a globally unique, unchallenged definition (even though its numeric precision is up to implementation constraints) and authors should be able to rely on that. 

-- 
GitHub Notification of comment by Crissov
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4702#issuecomment-585096732 using your GitHub account

Received on Wednesday, 12 February 2020 08:49:16 UTC