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

I'm weakly against adding phi.

Most of the time, phi is used for its "golden ratio" design sensibilities. The exact value used isn't important here, just the fact that it's ~1.6, and rectangles with approximately those ratios tend to look good.

The exact value of phi is valuable in number theory, and *some* interesting geometric effects (spirals!), but I don't think it has a use-case that isn't solved equally well by just using 1.6. 

(This critique doesn't apply to pi, because if you don't have a reasonably accurate value of pi, you'll sometimes get obvious near-misses when dealing with anything involving circles. I'm unsure if e falls to the critique, but it's already implicitly used in `exp()` and `log()`, so providing it explicitly seems reasonable.)

As I said in the Twitter thread you linked to, if someone can provide a use-case that isn't solved equally well by using 1.6, I could change my position. But right now I don't think it pulls its weight.

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

Received on Tuesday, 28 January 2020 21:38:50 UTC