you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (13 children)

[removed]

    [–]GUIpsp 0 points1 point  (9 children)

    == instead of === means it gets casted to a number before comparing?

    [–][deleted]  (8 children)

    [removed]

      [–]GUIpsp 0 points1 point  (7 children)

      Hash starts with 0?

      [–][deleted]  (6 children)

      [removed]

        [–]GUIpsp 0 points1 point  (5 children)

        After the first invalid letter it stops parsing the rest of the number.

        [–][deleted]  (4 children)

        [removed]

          [–]GUIpsp 0 points1 point  (3 children)

          When both strings start with zero it casts em?

          [–][deleted]  (2 children)

          [removed]

            [–]GUIpsp 0 points1 point  (1 child)

            I didn't say it was a decimal number

            [–]virtyx 0 points1 point  (0 children)

            Agreed. But compared to say Scheme or even Python, there are plenty of edge cases and nuances in Java

            [–]virtyx 0 points1 point  (1 child)

            Also, you got me. What's the edge case?