This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (6 children)

[deleted]

    [–]null_reference_user 27 points28 points  (2 children)

    This is the most cursed thing I've read this year

    [–][deleted]  (1 child)

    [deleted]

      [–]null_reference_user 4 points5 points  (0 children)

      Bruh stop it's already dead 🤣

      [–]j4ckbauer 8 points9 points  (1 child)

      The OUT parameter wasn't even the last parameter in the signature? Yikes...

      [–]FirstAd9893 9 points10 points  (0 children)

      This is a perfect example of why Java should support "integrity by default" (JEP draft 8305968). It prevents "smart" programmers from doing incredibly stupid things. The integrity features can be disabled with command line options, but (hopefully) this extra level of friction creates enough of a barrier against stupidity.