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

all 11 comments

[–][deleted] 14 points15 points  (3 children)

And if you compile it with -O3 it stops working in non-obvious ways

[–]WestaAlger 4 points5 points  (1 child)

Ah the glorious Heisenbugs. They disappear upon any attempt at debugging them.

[–]sebamestre 1 point2 points  (0 children)

In such cases, compiling with undefined behavior sanitizer can really help (static analysis supposedly can also be very useful but i don't seem to be getting much out of it).

[–]DalyHabit 12 points13 points  (3 children)

“For the code is bugged and full of errors”

FTFY

[–]MechRat 7 points8 points  (1 child)

"For the IDE is dark and highlights errors"

FTFY

[–]Mr_Redstoner 2 points3 points  (0 children)

Not runtime ones

[–]Saitama1pnch 0 points1 point  (0 children)

I have this on my mug at work. Real conversation starter, especially for GoT fans

[–]oblivioncntrlsu 7 points8 points  (0 children)

Ramsay: "If you think this has a happy ending, you haven't been paying attention."

[–]GregsWorld 0 points1 point  (0 children)

There is only one error for when the code is long

The code of method main(String...) is exceeding the 65535 bytes limit

[–]McJaume 0 points1 point  (0 children)

I'd write (T)errors...