@[email protected] to Programmer [email protected] • 2 months ago(How to trigger programmers (and make them irrationally angry)message-square82fedilinkarrow-up1221arrow-down116file-text
arrow-up1205arrow-down1message-square(How to trigger programmers (and make them irrationally angry)@[email protected] to Programmer [email protected] • 2 months agomessage-square82fedilinkfile-text
Probably not a good title to seek upvotes. If it does get upvotes, more programmers get share in your pain 😅
minus-square@[email protected]linkfedilink37•2 months 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-square@[email protected]linkfedilinkEnglish25•2 months 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 /.
minus-square@[email protected]linkfedilink3•2 months agoReplace all spaces with the unicode non-breaking space that looks the same. Although I know at least some language servers will detect this and mark it as an error, lol.
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
/
.Replace all spaces with the unicode non-breaking space that looks the same.
Although I know at least some language servers will detect this and mark it as an error, lol.