I actually had a bug in a game jam freshman year because of this. It was java, so there was a lot of questionable decisions going on, but adding the semicolon fixed it!
… now that I’m thinking harder it may have been a colon? The real problem was that we’d only been programming a few months at that point and were pretty good at accidentally fucking up syntax
Ah, I mean syntax issues trigger compiler errors though. I’m not sure of one that compiles but has odd behavior… except the increment/decrement operators. Maybe I’m just not remembering one
I actually had a bug in a game jam freshman year because of this. It was java, so there was a lot of questionable decisions going on, but adding the semicolon fixed it!
…I want details. Java is my most used language and I want to know lol
… now that I’m thinking harder it may have been a colon? The real problem was that we’d only been programming a few months at that point and were pretty good at accidentally fucking up syntax
Ah, I mean syntax issues trigger compiler errors though. I’m not sure of one that compiles but has odd behavior… except the increment/decrement operators. Maybe I’m just not remembering one