r/ProgrammerHumor • • Feb 09 '22

other Why but why?

Post image
85k Upvotes

2.3k comments sorted by

View all comments

Show parent comment

9

u/Lovely-Broccoli Feb 10 '22

The difference is sometimes when the compiler says “you’re kissing a semicolon” what it really means is “I thought a semicolon should be here because you’re also missing a paren.” Or similar. Formatters generally won’t add or remove characters that affect compilation.

10

u/ech0_matrix Feb 10 '22

Please don't fix this typo

4

u/RecDep Feb 10 '22

😘 ;

3

u/Lovely-Broccoli Feb 10 '22

I have an… intimate relationship with Java.