- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Thu, 23 Jan 2020 11:31:20 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `update on mod() function`. <details><summary>The full IRC log of that discussion</summary> <dbaron> Topic: update on mod() function<br> <TabAtkins> https://twitter.com/tabatkins/status/1219936010961915905<br> <emilio> ScribeNick: emilio<br> <astearns> github: https://github.com/w3c/csswg-drafts/issues/2513<br> <emilio> TabAtkins: so the poll I started yesterday about mod has ended<br> <emilio> ... had some fair results, and the contradictory results I expected<br> <emilio> ... so 3/2 in favor of JS, 9/1 in favor of math, depending on how you ask<br> <emilio> ... so the conclusion is that most people just write buggy code and they think / want math semantics<br> <fantasai> /JS/JS semantics if you ask directly/<br> <emilio> ... there's also a lot of discussion in the replies about use-cases<br> <jensimmons> link to poll??<br> <fantasai> s/favor of math/favor of math if you ask them about a basic computation/<br> <emilio> ... and it seems math is a better suit to fix those use cases<br> <emilio> jfkthame: would people be better off with explicit is-odd / even functions<br> <fantasai> https://twitter.com/tabatkins/status/1219936010961915905<br> <fantasai> https://twitter.com/tabatkins/status/1219936010961915905<br> <emilio> TabAtkins: they sometimes use it as a proxy for odd / even, but it's not general of course<br> <TabAtkins> https://twitter.com/tabatkins/status/1219939184682717184<br> <emilio> TabAtkins: so no decision for now yet unless the room is convinced, but worth thinking about it and we can peek this up at a later call<br> <emilio> TabAtkins: how does the room feel? Did anyone change their mind?<br> <emilio> myles_: I guess there's a third option which is not defining what negatives does<br> <emilio> TabAtkins: that's what C++ does and that's evil<br> <emilio> myles_: I didn't mean to return unicorns but just explicitly return 0 or something<br> <emilio> TabAtkins: it seems negatives could be common, I wouldn't want that<br> <emilio> Rossen: seems not many opinions have changed so let's move on<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2513#issuecomment-577642779 using your GitHub account
Received on Thursday, 23 January 2020 11:31:22 UTC