-1 explanation: I don't think %% is clear enough, the only sensible
syntax choice (//) is unavailable to us, and I think the utility of
having it baked into the language as an operator is pretty minimal
regardless (I coded a lot of Python for scientific research in a
previous job, and I don't think I ever used //, and you'd think that's
the place where you'd use it).

+1 on the function, though — quick searches on Ohloh and Github
suggest that there are a grand total of three open source projects
that implement a global intdiv() function. Seems safe enough.

Adam

On 29 July 2014 19:31, Andrea Faulds <a...@ajf.me> wrote:
> Good evening,
>
> The intdiv RFC is put to the vote, with separate votes for the integer 
> division operator (%%) and intdiv function, the latter as a fallback. I would 
> highly encourage you to read the discussion in the “[RFC] intdiv()” thread 
> and the whole RFC before voting.
>
> The vote is here: https://wiki.php.net/rfc/intdiv#vote
>
> It is opened today (2014-07-30) and ends 2014-08-06.
>
> Thanks!
> --
> Andrea Faulds
> http://ajf.me/
>
>
>
>
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to