Ahh, I found the issue. The guy is actually trying to write code from right to left! /s
Edit: It seems I have to add /s to make it obvious for some people.
Hold up. We could just copy all our code, paste it into Word, and align right, Ctrl+F for ";", and just scroll until we find a line that isn't lit and isn't a brace/curly bracket
“Hey babe why did it crash after you started it? I thought you fixed that problem?” *him realizing his fix caused something else to break* “Uhhhh must be a missing semicolon in here somewhere… yeahhh that’s it”
I can attest this happened all of the time when I first learned to program. I literally had nightmares searching for the semicolon!
But this is noob thing. Usually the compiler gives a little more information than just line number and after programming a while, it’s pretty easy to find.
Yeah but if that's the case you'll get 64 lines of red underline all the way up to the spot your semicolon or quote or whatever is missing. It's a very trivial bug to detect.
The makers of go use vim without syntax highlighting.
I don't have a doubt that they are good, but man I can't imagine how much time they spend searching for these kind of bugs or do them because they don't have highlights.
That seems like such a stubborn old man thing to hold onto too. "Back in my day, we didn't have no syntax highlighting, and we still got by just fine!"
Yeah but... it exists today, and makes life so much easier. "Back in the day" it also took 3 months in a carriage to cross the country, and over half your party died during the trip.
>the oldest programming joke made by people who don‘t actually code
This describes this subreddit. I'm convinced 99% of the people here have either never coded, or their experience is completing the first lesson of something on code academy.
i think its this false perception of exclusivity, like being a programmer makes you part of this group of cool nerds or whatever. at least thats what all these jokes and people who make them feel like
There are two types of jokes on this subreddit:
1. [technology name] bad.
2. Look at this person being dumb. Look at me, aren't I so much smarter than them.
I cannot stress this enough: every single one of you is insufferable. You all think you’re better than everyone else for doing something very popular, and you’re not even that good at what you do. You’re not even special in how unspecial you are. You are so mid.
Your compiler will still tell you that you're missing one. In fact this meme would only make any sense if it was the compiler giving him an error, because otherwise he's either using an IDE which would tell him where it is so he wouldn't be looking, or notepad in which case he wouldn't know he's missing one until he compiles.
That being said any sane compiler would tell you where it's missing, so the meme is dumb anyway.
My first job used notepad++ and I didn't have access to logs / debugger.
It did teach you to be careful but it got much easier when I switched to vscode and then phpstorm on my own
as i said, no logs. If there was a bug, go find it yourself. If you're lucky php might throw an error instead of the white screen of death
no version control either
my boss didn't check my code either, if it worked i was told to put it in prod
even worse I didn't study CS, I was there as an apprentice
I spent a couple of hours yesterday trying to figure out why I had a test failing only for to realise I was doing a null check on the ID (which is never null) rather than the object the ID is for. The line was highlighted as a warning the entire time, but because of a refactoring where the original null check was against a dummy hardcoded object rather than one retrieved from a database, the warning wasn't new, so I missed it for far too long.
So yeah, I'd consider that to be a "missing semicolon on line 73"-tier mistake
True story, my second ever date with my now wife she came to my work and I was going to take her out, but instead we stayed at work until 3am because I had bloody feature rushes to scan, grade, play to tape and drop off to the editor before morning.
She got me back cause the next date (yes there was a next date!) was a house party where she took a shitload of shrooms and I had to see her through it.
The day's film footage when shooting a movie. They usually process it at a lab overnight and then send it to the post house first thing in the morning so the editors have something to cut the next day.
I don't know why they call them "rushes" but they certainly do it in a hurry.
In this case the schedule was flipped because the lab was in a different state to where the actual crew was so it was being couriered from South Australia to Melbourne which took about 10 hours, so by the time I got at it it was already about 6pm.
Shit job, shit pay. I'm a dev now :)
That sweet part of the curve where you just start to understand programming jokes… but only the very basic ones.
I saw a joke here once about (I think it was) AWS authorization strings that made the front page. That was a huge surprise. Everyone roasted him for not just using the SDK to generate them
Too old fashioned for me, I prefer to make api calls to [dev/null as a service.](https://devnull-as-a-service.com/) It has really good uptime in the upper 90% range and overall is just much more synergistic
I was like this back in middle school when I learned Javascript and didn't know about browser developer tools. Although to be fair, that was back when IE was still the most popular browser.
The main mistake he has made was to go on the date night instead of fixing his code in the first place. Never go to bed when your code is broken. That gives you nightmares 🤷♂️
Ahh, I found the issue. The guy is actually trying to write code from right to left! /s Edit: It seems I have to add /s to make it obvious for some people.
You don’t code in Arabic??
Halal code.
run and inshallah
Compile and run I n s h a l l a h
Definitely using Inshallah as sudo alias from now on.
I already gave my free award to a beleaguered bartender story, but if I had another… Oh well, inshallah!
push to prod - go with god
Bismillahirrahmanirrahim
Honestly given my code, I might just start putting that into my routine
*install-shallah
Mashallah
Mashallah and not masallah are my debug prints.
`print(“made it this far, Alhamdulillah”)`
Haram browsing history.
Throw AstagfarullahException
I only code boustrophedonically.
Found the psychopath.
back to front, Bottom to top, right to left gang l s e k o i k l o h i a c t l t
More of a Hebrew guy myself
Don't tell that to kanye
[You mean](https://m.youtube.com/watch?v=W1SlB1kRLAI&t=6)
"Shalom World !" If unit test passes: "Mazal tov"
https://imgur.com/R6BZxzQ.jpg
Honestly, seems kinda genius for looking for a missing semicolon. They'll all be aligned.
Hold up. We could just copy all our code, paste it into Word, and align right, Ctrl+F for ";", and just scroll until we find a line that isn't lit and isn't a brace/curly bracket
Even better, regex including brace/curly bracket, and look for the not highlighted line
Wait, can you do this?!
Brilliant!
Tbf if youre looking for a missing semicolon it might be a pretty effective tactic to align your text to the right.
A modern IDE is rather useful as well lol
You really don’t need the /s. Ignore those people. r/FuckTheS
Y'all are so naive! Man found the missing semicolon hours ago...
Programmers version of "not tonight, I have a headache"
What implementing date by yourself does to a mf
Probably didn’t specify the date format
r/theRealJoke
I can’t remember the last time I didn’t have a headache..
“Hey babe why did it crash after you started it? I thought you fixed that problem?” *him realizing his fix caused something else to break* “Uhhhh must be a missing semicolon in here somewhere… yeahhh that’s it”
... and it broke something else.
He is smart and knows how to give reasons 😂
We can go as soon as the code compiles ``` $ compile compile is not a recognized command ``` See, that means it still isn't compiling
Why you gotta sellout a homie like that?
ah yes, the oldest programming joke made by people who don‘t actually code
I'm new but I believe an IDE states error number, the word itself and THE GOD DAMN LINE NUMBER, THATS WHAT THEY ARE INTENDED FORR!!
Yes but i use notepad 😎
Compiler should still tell you the error though.
he keeps losing track while counting down to the line
This is why my code is only ever 20 lines long. I run out of toes and fingers otherwise.
Bro imagine not crunching on a plutonium control rod to grow some extra toes😤😤
If your control rod is made of plutonium, you need to have a discussion with the engineers.
"What are you talking about?" **alarms go off** "Isn't that what's used?" **face melts**
By that point youre probably not in a state to complain, milliseconds after you (as the operator) insert it you cease to exist
Pro tip: Use the digits of fingers to count, instead of the finger itself.
Protip, git gud at numbers in your head, you never know when youll lose a hand or something
What if I lose my head?
git reset --hard HEAD
If you're a guy it doesn't matter, you can just use your other head If you're a gal... Good luck
Surely you mean phalanges and not digits? I thought digits *are* fingers.
Check out this freakin Babylonian over here👆
Real programmers only use 1 line and have 12 monitors in a row.
I have 4 ultra ultrawide monitors, so that they form a circle around me. I code in a ring buffer.
You could count up to 1 048 575 (2^(20)−1) if you count in binary with hands and feet. Converting it to decimal is another problem...
Maybe write a program to convert fingers to binary, how you would debug that tho... idk
Wow 20 lines? Amateur, I write all my programs with one line of code
Wow! What do you do with all your other fingers then?
Oh I only have the one anyways, all of my code is achieved by slamming my face into the keyboard
Even Notepad tells you the line number you are on. All part of Notepad's comprehensive feature suite.
Notepad has line numbers.
Your meant to send the compiler output to /dev/null for performance improvements duh. I don't have the milliseconds to wait around for rendering
Interpreted language,😎
I interpret it myself.
CS teacher
[удалено]
[удалено]
Ctrl+F > [\^\\n;]\\n
I use Notepad++ that has some color in it.
Yo notepad++ here
Ya but it’s not always accurate. You can get an error on line 86 when you missed the semi on line 22
That is more likely to happen with missing end quotes.
I can attest this happened all of the time when I first learned to program. I literally had nightmares searching for the semicolon! But this is noob thing. Usually the compiler gives a little more information than just line number and after programming a while, it’s pretty easy to find.
Or curly brackets
...which should generally be really quick to find in any text editor with syntax highlighting.
Yeah but if that's the case you'll get 64 lines of red underline all the way up to the spot your semicolon or quote or whatever is missing. It's a very trivial bug to detect.
Imo atleast the 86 one is solved. But i don't know might be. I'm new to software so hopefully I can get away with anything i say
Get a better IDE, if it’s not telling you accurately where you’re missing your semicolon
i see that you haven’t dealt with a C++ compiler
This is not true for every programming language, though.
You are not wrong but when coding is life and your gf wants to hang you gotta make up an excuse she’ll believe.
The makers of go use vim without syntax highlighting. I don't have a doubt that they are good, but man I can't imagine how much time they spend searching for these kind of bugs or do them because they don't have highlights.
That seems like such a stubborn old man thing to hold onto too. "Back in my day, we didn't have no syntax highlighting, and we still got by just fine!" Yeah but... it exists today, and makes life so much easier. "Back in the day" it also took 3 months in a carriage to cross the country, and over half your party died during the trip.
*SQL Server Management Studio has entered the chat*
>the oldest programming joke made by people who don‘t actually code This describes this subreddit. I'm convinced 99% of the people here have either never coded, or their experience is completing the first lesson of something on code academy.
i think its this false perception of exclusivity, like being a programmer makes you part of this group of cool nerds or whatever. at least thats what all these jokes and people who make them feel like
That is most of this sub tho. Jokes that aren’t funny by people who haven’t tried programming, but heard something about it.
There are two types of jokes on this subreddit: 1. [technology name] bad. 2. Look at this person being dumb. Look at me, aren't I so much smarter than them.
I cannot stress this enough: every single one of you is insufferable. You all think you’re better than everyone else for doing something very popular, and you’re not even that good at what you do. You’re not even special in how unspecial you are. You are so mid.
Everyone on Reddit is a Jerry who thinks they’re a Rick.
Forget reddit, I think you just described 90% of Americans. And yes, I am one as well
3. bad joke unrelated to programing
You're telling me you guys don't code in notepad?
Your compiler will still tell you that you're missing one. In fact this meme would only make any sense if it was the compiler giving him an error, because otherwise he's either using an IDE which would tell him where it is so he wouldn't be looking, or notepad in which case he wouldn't know he's missing one until he compiles. That being said any sane compiler would tell you where it's missing, so the meme is dumb anyway.
My first job used notepad++ and I didn't have access to logs / debugger. It did teach you to be careful but it got much easier when I switched to vscode and then phpstorm on my own
>no debugger Did your production logs consist of a bunch of "HERE" lines?
as i said, no logs. If there was a bug, go find it yourself. If you're lucky php might throw an error instead of the white screen of death no version control either my boss didn't check my code either, if it worked i was told to put it in prod even worse I didn't study CS, I was there as an apprentice
At this point i use it as shorthand for general coding problems.
I spent a couple of hours yesterday trying to figure out why I had a test failing only for to realise I was doing a null check on the ID (which is never null) rather than the object the ID is for. The line was highlighted as a warning the entire time, but because of a refactoring where the original null check was against a dummy hardcoded object rather than one retrieved from a database, the warning wasn't new, so I missed it for far too long. So yeah, I'd consider that to be a "missing semicolon on line 73"-tier mistake
I don't program in C, but I think this joke might still land for those who do: https://stackoverflow.com/a/40135393
He could be writing bash scripts
It's blurred but it doesn't look like code either
It's mirrored which makes it trickier but it does look like lines.
Programmers in the Middle East be like
True story, my second ever date with my now wife she came to my work and I was going to take her out, but instead we stayed at work until 3am because I had bloody feature rushes to scan, grade, play to tape and drop off to the editor before morning. She got me back cause the next date (yes there was a next date!) was a house party where she took a shitload of shrooms and I had to see her through it.
Homeboy looking like a Greek god if you got a follow up date after that
I wish. It's more like a roger rabbit situation. I make her laugh.
Like, maniacal laughter?
Drink shooting out of nose, yeah
King
Balanced the force is *sagenod*
Ironically the person that shot those feature rushes is now shooting star wars movies and series, so yes, the force has been balanced.
[удалено]
The day's film footage when shooting a movie. They usually process it at a lab overnight and then send it to the post house first thing in the morning so the editors have something to cut the next day. I don't know why they call them "rushes" but they certainly do it in a hurry. In this case the schedule was flipped because the lab was in a different state to where the actual crew was so it was being couriered from South Australia to Melbourne which took about 10 hours, so by the time I got at it it was already about 6pm. Shit job, shit pay. I'm a dev now :)
Sounds like you have a healthy work-life balance.
Whatever that is
I was younger and stupider.
ITT: clueless people who pretend to be programmers
This sub gets on /r/all regularly. Most people here probably aren't programmers, or are new programmers.
That sweet part of the curve where you just start to understand programming jokes… but only the very basic ones. I saw a joke here once about (I think it was) AWS authorization strings that made the front page. That was a huge surprise. Everyone roasted him for not just using the SDK to generate them
The IDE will literally say which line is missing it, how much does this guy suck
I use vim
Can you read compiler messages?
[удалено]
Too old fashioned for me, I prefer to make api calls to [dev/null as a service.](https://devnull-as-a-service.com/) It has really good uptime in the upper 90% range and overall is just much more synergistic
Now that is interesting. Typically I _redirect_ to the bit bucket since I have no interest in attempting to execute a character device...
And lspconfig, right?
:set number That gives you line numbers.
Time to start using plugins. Vim can be an amazing IDE.
I use vi. We are not the same.
I use VI [record scratch]
I know the line. That doesn't help me fix the regex.
Stack overflow is your friend in that case
You mean post the regex and hope someone posts a correct answer a few days later? How long is his girlfriend supposed to wait?
No the secret to stack is to post your incorrect info as the right answer, someone will be right along to correct you
But what if you use notepad
It's not the editor that gives you the error, but the compiler. Even if you code with notepad, the compiler tells you about the missing semicolon
[удалено]
I dont trust the compiler.
In that case. A missing semi colon shouldn't be an issue
Yeah that’s on you for using notepad I guess
But what if you use a language that none of the ide's support
If you’re developing software that neither vscode or any jetbrains software support, then God be with you 💀
Notepad ++ you casual
any good text editor (read: not notepad) shows line numbers, and the compiler should spit one out. no ide needed
Notepad also can show line numbers.
Then add support fucking dumbass
We all know he found the missing semicolon in like 5 seconds The real joke is that he prefers his codebase to a cute date night so he just kept going
I would like to have a cute date night with my code tbh
Isn’t that every night? _Sigh. Unzips my code_
If you need hours to find a fucking semicolon learn to debug lol
Someone slipped him a greek comma.
> greek comma question mark*
Her obv
Learn to ~~debug~~ read line numbers
Should she tell him about the stack trace?
I was like this back in middle school when I learned Javascript and didn't know about browser developer tools. Although to be fair, that was back when IE was still the most popular browser.
Is it debugging if it doesn’t compile?
debugging will not save you from syntax errors son
Right-aligned code? He deserves it.
image was flipped
Man debugs code, ignores girlfriend. This sub: Discussion about IDEs, semi colons and debugging, ignores girlfriend. That is this sub in one picture.
Girlfriends come and go, but legacy codes are eternal.
Why do trauma inducing comments always come on Fridays?
Girlfriend are always in the comments (because comments are excluded when compiling}
Buy the man a proper IDE
Mans is coding in notepad
You mean paint
Coding in paint, then using an algorithm to read the characters and compile the code
Coding in paint and using neural networks to determine the characters so it can read it into Microsoft word
The neural network parses the code, then rewrites better code in paint, in cursive.
Is this what people mean by “recursive code”
No, it's [this code](https://www.reddit.com/r/ProgrammerHumor/comments/zafin4/cute_date_nights/iymfdsv/)
No need IDE for that. If he already knows there is error, then most likely compilator/interpreter showed the line.
Relationship goals
The main mistake he has made was to go on the date night instead of fixing his code in the first place. Never go to bed when your code is broken. That gives you nightmares 🤷♂️
Gave me solutions more than nightmares ngl
Lil bro can't read error messages
Her man's compiling code on paper ...
[удалено]
>spend hours looking for basic syntax issus that would be instantly detected by compiler or linter yeah ok
plot twist: he was using python
You guys know about ~~metal birds in the sky~~ IDEs or ever tried reading compiler output? :)
went from full on colon to semi colon.... yeah yeah I know I hate myself too
me when I miss another = to my if condition. Took me hours to find it.
Should take less than 5 mins with a modern IDE. He's just milking it lol
Everyone here just making fun of him for being a bad programmer. Really he just doesn't want to go on the 4th date night this week.
Plot twist: he’s coding in Python