On Mon, 19 Sep 2016 at 16:04 Vesa Kaihlavirta wrote:
> Hey all,
>
> I've been bouncing this idea of fixing all comparison operations in one
> fell swoop, although with an opt-in declare in the spirit of strict_types.
>
> So, I thought about this for a while, and decided
On Tue, 20 Sep 2016 at 02:20 Dan Ackroyd wrote:
> Hi Vesa,
>
> On 19 September 2016 at 14:04, Vesa Kaihlavirta
> wrote:
> >
> > My idea is to add a strict_comparisons declaration that you can add at
> the
> > beginning of a file in the same way as strict_type
Hey all,
I've been bouncing this idea of fixing all comparison operations in one
fell swoop, although with an opt-in declare in the spirit of strict_types.
Here's the gist: ==, < and > plus all the comparisons done inside switch
statements and arrays are not very safe. === helps some, but does no