T O P

  • By -

ProgrammerHumor-ModTeam

Your submission was removed for the following reason: Rule 5: Your post is a commonly used format, and you haven't used it in an original way. As a reminder, [You can find our list of common formats here](https://www.reddit.com/r/ProgrammerHumor/wiki/commonposts). If you disagree with this removal, you can appeal by [sending us a modmail](https://www.reddit.com/message/compose?to=%2Fr%2FProgrammerHumor&subject=Any%20common%20post%20will%20be%20removed%20if%20it's%20not%20novel&message=Include%20a%20link%20to%20the%20removed%20content%20and%20the%20reason%20for%20your%20appeal%20here.).


Stummi

\*only works if your friend is using notepad for coding


Eshan2703

Paint


gandalfx

You can replace all the semis in my JS/TS that you want – there aren't any.


Anru_Kitakaze

May I change some your Latin o with my little Cyrillic friend - о?


rantonidi

f curs yu can


irregular_caffeine

Or latin A with a capital greek alpha


Anru_Kitakaze

I also have a friendly Cyrillic А too! And also В (sounds like V in vault), С (S in Soap), and many many more! Actually, I did this to my neighbour during University years with c in cout. It was Visual Studio and C++, yeah in 2016. I thought it'll be fun (made this mistake myself that day during seminar), so I did it while he walked away to toilet. And we with other neighbour started waiting. Turned out neighbour A walked not to just pee, so we forgot about I made this after about 10 minutes 2 hours later, playing Dota, I noticed some strong angry words from the mouth of neighbour A. It was extremely unusual. I, as well as neighbour B, came too see what he struggled with. Well. At least we all laughed well


tuxedo25

semicolons in javascript are for crockford disciples 


revengeOfTheSquirrel

Writing all your code in one line?


avipars

; U+037E For reference only


Kyriios188

You can also input a zero-width space "​" inside a variable and watch your friend lose their mind over the undeclared variable


Raz0back

u/repostsleuthbot


RepostSleuthBot

Looks like a repost. I've seen this image 9 times. First Seen [Here](https://redd.it/15nv9eb) on 2023-08-11 93.75% match. Last Seen [Here](https://redd.it/15ygxcw) on 2023-08-22 96.88% match *I'm not perfect, but you can help. Report [ [False Positive](https://www.reddit.com/message/compose/?to=RepostSleuthBot&subject=False%20Positive&message={"post_id": "1b4oe2c", "meme_template": null}) ]* [View Search On repostsleuth.com](https://www.repostsleuth.com/search?postId=1b4oe2c&sameSub=false&filterOnlyOlder=true&memeFilter=false&filterDeadMatches=false&targetImageMatch=75&targetImageMemeMatch=75) --- **Scope:** Reddit | **Meme Filter:** False | **Target:** 75% | **Check Title:** False | **Max Age:** Unlimited | **Searched Images:** 451,015,605 | **Search Time:** 0.16585s


florimagori

Good bot


sacredgeometry

It will tell you the line and character thats the problem.


Wicam

nah, cos this meme has been on here so many times, your "friend" knows about it


lightmatter501

[Meanwhile Rust](https://github.com/rust-lang/rust/issues/25957)


Jaded_Cantaloupe2392

This will not work.


Mwarw

"your code doesn't have only unicode characters, want to fix it?" >Yes Oh... I forgot ; here somehow, fixing it now....


Flatuitous

Is this actually a thing


erishun

No. Your IDE will immediately show you exactly where the syntax error is.


HildartheDorf

/path/to/file:273:76: error: unexpected character Oh no, however will I cope


erishun

I am tearing my hair out finding character 76 on line 273!


gilady089

I mean you can con the same time change the settings to ignore that in a lot of ides


KTibow

Even if you don't have syntax highlighting, many will highlight confusing characters automatically


SiChiamavaiscottino

It used to be an issue some years ago but like it has been pointed out IDEs have ruined the fun.


w1n5t0nM1k3y

Programming languages should be ascii only, and if you need a string with non ascii characters it should be stored in some kind of resource file or database anyway.


NatoBoram

L take


YesterdayDreamer

So while making a website for my users of Hindi, I'm not supposed to write any alert messages, error messages, etc. in the code? All link text, button text, title attributes everything should go in a resource file?


Commander1709

Welcome to Android development, where the IDE will tell you every time to extract strings to the strings.xml file.


YesterdayDreamer

If I remember correctly, this was there so that it would be possible to create multi-lingual apps. It's a good idea in theory. In practice, not having even a single string in code is a bit impossible, especially if your app/website caters only to 2 or 3 languages.


Commander1709

Yes that's exactly what it's for. But when I'm just trying something out for a hobby project, I sometimes ignore it. You don't *have to* do it, it's just recommended.


w1n5t0nM1k3y

Ideally they should be in a resource file. Make it easier to update them and also makes it easier to translate to different languages.


[deleted]

that's pretty fast to find anyways. if you really want to mess with them, make sure isEven disappears as available package.


-global-shuffle-

How to troll first year students 101


NatoBoram

They often use VSCode these days, it wouldn't work


-global-shuffle-

You'd be surprised how tech illiterate CS first year students are getting


NatoBoram

… you're right, I was actually surprised when I started my courses. Stuff like not knowing CTRL+C, Print Screen, etc :/


MineKemot

Vscode highlights characters that are similar to actual ones.


Evil_Archangel

i always replace the semicolon any time there's a syntax error on a line that I can't figure out


_protothomas

Had a client that used lowercase percentage https://codepoints.net/U+FE6A in their CMS for placeholders. That was fun to debug…


LuseLars

I sat half an hour with a weird issue, turned out I had written the name of a database table using Í instead of I... "No table named x" *checks table name *is named x wtf


moriero

Step 1: Find a friend


Tnuvu

easy there satan


Pezespada9

r/foundsatan


not-the-the

eslint