potoo22@programming.dev to Programmer Humor@programming.dev · 14 hours ago(How to trigger programmers (and make them irrationally angry)message-squaremessage-square53fedilinkarrow-up1105file-text
arrow-up1105message-square(How to trigger programmers (and make them irrationally angry)potoo22@programming.dev to Programmer Humor@programming.dev · 14 hours agomessage-square53fedilinkfile-text
Probably not a good title to seek upvotes. If it does get upvotes, more programmers get share in your pain 😅
minus-squareDarohan@lemmy.ziplinkfedilinkarrow-up30·13 hours agoReplace a semicolon (;) with a Greek Question mark (;), provided they’re working in a language that uses semicolons at the end of every line, and their IDE doesn’t highlight the difference (which some do now)
minus-squaresleep_deprived@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up15·5 hours agoFun fact, Rust has a special error message for this: Unicode character ‘;’ (Greek Question Mark) looks like a semicolon, but it is not. It also detects other potentially confusing Unicode characters, like the division slash which looks like /.
Replace a semicolon (;) with a Greek Question mark (;), provided they’re working in a language that uses semicolons at the end of every line, and their IDE doesn’t highlight the difference (which some do now)
Fun fact, Rust has a special error message for this:
It also detects other potentially confusing Unicode characters, like the division slash which looks like
/
.