Re: [VOTE][RFC] intdiv()

From: Date: Wed, 30 Jul 2014 17:51:38 +0000
Subject: Re: [VOTE][RFC] intdiv()
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-76278@lists.php.net to get a copy of this message
-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 <ajf@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
>


Thread (20 messages)

« previous php.internals (#76278) next »