Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "semi. colon"
-
Made me laugh so hard thinking about how often a semi-colon has been my source of depression & self injury14
-
It doesn't matter what I'm programming in, every time my wife sees me writing code she'll tell me "I think you forgot a semi-colon there".
I guess it was funny the first 3 times, but after 10 years, every day?22 -
Why do people (Some devs too...) bloody hell think that devs have Hard time fixing the Semi Colon issue, we have a lot of other issues to figure out, like the Structure of Data, Code Fragmentation, API Creation, Invalid Data Handling, Injection Prevention. But no, since we are developers, we are having sleepless nights because of one fucking semicolon? FUCKING NO, it hardly takes 30 seconds to figure out that there is a missing semi-colon. Really People, stop the ; thing!10
-
I want to see a movie where machines gain intelligence and go to war with humanity, only to be defeated when some guy deletes a single semi-colon from their code.
Saw this in a Tumblr blog. Lol3 -
after hours of debugging your program without any luck...
wife(never programmed a day in her life): what's up?
me: I can't figure out why this program won't work
wife: oh! you're probably missing a semi-colon somewhere9 -
The interviewer pointed out that I missed a semi-colon on the whiteboard code .I was like... sorry, but the whiteboard can't compile this code!
...and I wasn't selected! -.-"3 -
<meta-rant>
Am I the only dev who gets bugged when I see the common "a semi-colon just cost me 45 minutes!" joke, or similar?
Any modern IDE or text editor will show you syntax errors immediately, and even if they didn't you can usually resolve them in under a minute.6 -
That weird moment when you write a Python script and errors pop up everywhere, only after an hour of debugging (pulling hair out) to find that you started putting a semicolon at the end of each statement again.3
-
Today as my friend left for lunch, I opened his code, and changed all the ';' (semi-Colon) to ';' (Geek Question Mark). It's been 10+ hours, still no push from his side on the repo, called him... He is still stuck on the same.. and I won't tell him.
I am a horrible person. 😂8 -
a missing semi colon is overated, the white space character at the end of a string is the real OG. Been hunting a bug for three days because of it!!15
-
So I recently started going to a university, and I am being taught C. I have previously learnt C++ in school so its all pretty easy for me compared to those who are programming for the first time.
So, one of my classmates run into a problem with their code so he asks to check where he went wrong. So, the teacher comes and checks his code and then concluded that the compiler is F****** broken!! And i am like FFS theres a missing semi-colon, even the compiler pointed it out....just because you couldn't figure out the problem doesn't mean the compiler is broken.7 -
Scenario 1
Friend 1:"Hey, you're good at computers right?"
Me:"Erm yup."
Friend 1:"Can you hack Instagram? I've lost my password."
Me:"Oh My God."
Scenario 2
Me looking at a friend's unity C# code
Me:"You know there's an enter key right? Why is your code horizontal not vertical?"
(Means that after a semi-colon he continues his code)
Friend 2:"I like to read my code in horizontal, that feels natural to me"
Me:"What ever, as long as it works. But why do you have so many if function inside another if function?"
Friend 2:"Cuz I want the player to do this while moving"
Me:".........."3 -
Have a couple I want to air today.
First was at my first gig as a dev, 4-5 months out of school. I was the only dev at a startup where the owner was a computer illiterate psycopath with serious temper tantrums. We're talking slamming doors, shouting at you while you are on the phone with customers, the works...
Anyways, what happened was that we needed to do an update in our database to correct some data on a few order lines regarding a specific product. Guess who forgot the fucking where-clause... Did I mention this boss was a cheap ass, dollar stupid, penny wise asshole that refused to have anything but the cheapest hosting? No backups, no test/dev/staging environment, no local copies... Yeah, live devving in prod, fucking all customers with a missing semi-colon (or where clause).
Amazingly, his sheer incompetance saved my ass, because even if I explained it, he didn't get it, and just wanted it fixed as best we could.
The second time was at a different company where we were delivering managed network services for a few municipalities. I was working netops at that time, mostly Cisco branded stuff, from Voice-over-IP and wifi to switches and some routing.
One day I was rolling out a new wireless network, and had to add the VLAN to the core switch on the correct port. VLAN's, for those who don't know, are virtual networks you can use to run several separated networks on the same cable.
To add a VLAN on a Cisco switch one uses the command:
switchport access vlan add XYZ
My mistake was omitting the 'add', which Cisco switches happily accept without warning. That command however can be quite disruptive as it replaces all of the excisting VLAN's with the new one.
Not a big deal on a distribution switch supplying an office floor or something, but on a fucking core switch in the datacenter this meant 20K user had no internet, no access to the applications in the DS, no access to Active Directory etc. Oh and my remote access to that switch also went down the drain...
Luckily a colleague of mine was on site with a console cable and access to config backups. Shit was over within 15 minutes. My boss at that time was thankfully a pragmatic guy who just responded "Well, at least you won't make that mistake again" when we debriefed him after the dust settled. -
!rant
Console.WriteLine("Hello World, again!");
This will be a rough ride dual-wield a non-semi-colon lang (Py 3) and a semi-colon lang (C#). But oh well. I've already taken the plunge. Let's do this!16 -
>Be me
>About to finish large-ish GUI program in Java
>Finish coding program
>Be happy that you finally finished
>Go to test the program
> Doesn't start
>Get concerned
>Debug the code for hours on end to find out why it isn't working
>Find that you were missing a semi-colon the whole time
>Yell into a pillow
>Go to devRant to rant about it11 -
It would be so agonizing if someone replaced a semi colon in my JAVA code with a Greek question mark!!
I hope there's a 404 message for humans because if I find him, that will be last time anyone sees him!9 -
PM: This is broken.
Me: What? It works locally. That's weird...
PM: ...............
Me: (5 mins later) ok try again.
PM: still broken.
Me: Bangs head on desk. Why is this working locally?!?!!?
Me: (3 hours later) I'm missing a semi colon, and it wouldn't minify. Awesome.2 -
I wonder if they have speech to text for code.
Var cars equals left bracket quote Saab quote comma quote Volvo quote comma quote BMW quote right bracket semi-colon4 -
For the first time in history, I have ended a regular sentence using a semi colon instead of the proper punctuation.1
-
IDK why our teachers make us write code on paper when we have cool, fancy IDEs with auto correct 🙃 I think they are preparing us for job interview coding rounds from class 12 onwards😂😂
F for those who miss a semi-colon and the teachers gives a round zero😂5 -
Ok GCSE finals are coming up and I take ICT. literally it's harder to fail than pass this subject. But some how half the class is failing it. One of the topics that a lot of the class are struggling with is web development. Honestly all you have to do is add 2 images and some text and you have 10 marks it's stupidly easy. So at the end of the class the teacher handed me some notes on web development that he thought might come in handy. Knowing me I just chucked it in my bag never to be seen again mainly because I already know a lot about web development and a lot of the time he's asking me why his code isn't working and I'm there mumbling "you forgot a semi colon" or something like that. So when I got home I decided to take a look at these notes and honestly this made my day2
-
Usual python code problems coming from someone who has been coding in Javascript and PHP (<--no pitchforks please). It's been months already but old habits still keep on coming back
- adding a semi-colon
- mixing spaces with tabs
- using a lowercase boolean
- adding an open brace when declaring a function
- forgetting the colon ( ;'s brother) -
Why is learning a new language from python such a bitch? Like, w h a t t h e f u c k. Syntax can eat my ass with that semi colon no semi colon bullshit. Also fuck the compiler with it always having an error and shit. I was lowkey just trying to compile the shortest shit but cant get through s h i t. Fuck life I swear I'm gonna shoot my computer if I get another error.25
-
My grade in basic programming course went from B to C, determined by a fu****g semi colon! One damn semicolon!!!
Bare in mind that my digital exam was in NOTEPAD with no IDE, no syntax highligting, nothing but black on white!
Is there really any compilator, or realistic job environment, where this could be so devestating?!?!11 -
I wasn't hired to do a dev's job (handled sales) but they asked me to help the non-HQ end with sorting transaction records (a country's worth) for an audit.
Asked HQ if they could send the data they took so I wouldn't need to request the data. We get told sure, you can have it. Waits for a month. Nothing. Apparently, they've forgotten.
Asks for data again. They churn it out in 24 hours. Badly Parsed. Apparently they just put a mask of a UI and stored all fields as one entire string (with no separators). The horror!
Ended up wasting most of a week simply fixing the parsing by brute force since we had no time.
Good news(?): We ended up training the front desk people to ending their fields with semi-colons to force backend into a possibly parsed state. -
I though you may like what I did
The AI finished training now
My server almost went down
I put a semi-colon at the end;
I think you can't create front-end
I haven't had sleep in a while
Neither have I walked a full mile
I'm more of a 'kilometer' guy
We are going to eventually die
Fuck PHP
I can't afford to buy full HD
I'm not good at this
Cause I don't have a girl to kiss -
If languages had slogans...
1) Java -- Buy one get two for free on your delicious NPEs.
2) C -- I burn way too much calories talking, let's do some sign language. Now see over there... 👉
3) Python -- Missing semi-colon? Old method. Just add an extra space and watch the world burn.
4) C++ -- My ancestors made a lot of mistakes, let's fix it with more mistakes.
5) Go -- Meh. I can't believe Google can be this lazy with names.
6) Dart -- I'm the new famous.
7) PHP -- To hide your secrets. Call us on 0700 error_reporting(0)
8) JavaScript -- Asynchronous my ass!
9) Lua -- Beginners love us because arrays start at 1
10) Kotlin -- You heard right. Java is stupid!
11) Swift -- Ahhh... I'm tasty, I'm gonna die, someone please give me some memory.
12) COBOL -- I give jobs to the unemployed.
13) Rust -- I'm good at garbage collection, hence my name.
14) C# -- I am cross-platform because I see sharp.
15) VB -- 🙄
16) F# -- 😴8 -
Most angry? Not sure but generally get angry at my own short comings.
Like:
"duh you missed a semi-colon again you douche and it took you 3 days of debugging to realise! Just start writing python already!"3 -
My partner randomly commit to the git.
"A missing semi colon"
"initiate a useless variable"
"adding comment to obvious code"
Hmm ok im done for the week.1 -
My oppo has just copied and pasted a block of code in the top of all the controllers. He swears he tested it, but theirs a semi colon missing, and and its fed the wrong object as an argument. Internal seething intensifies.1
-
I'm so sick of stupid little bugs. Not proper bugs like, I don't know, a memory leak or something significantly wrong, it's always a bloody semi colon or backtick...
-
Coding alone:
int GetData()
{
int iErr;
int nPts;
int nTdx;
matrix mX;
vector vY;
vector vWT;
nPts = 10;
nTdx = 3;
Worksheet vks("Data1");
mX CopyFromWks( wks, 1,3,0,9);
.........
Coding when someone is watching:
"Where is the EFFING Semi-Colon?"2 -
C is one of those languages that I have no idea why I really even mess around with it. It's cool, and useful, and all that jazz. But holy hell messing up one little line of code is the death of everything.
One forgotten semi-colon, and you whole program is gone. It will mess up other lines of code, which will mess up other lines of code, so on and so forth. I've even had times where I have to almost rewrite little programs I'm playing around with because of how much little errors can mess it up.
Don't even get me started on compiling. I don't even want to get into it now.1 -
My Friend(On getting an error in Javascript for not placing a semi-colon";") : If the computer knows that adding the semicolon would fix the code why would it not add it by itself instead of throwing an error.
Me: Because coaches don't play ;) -
You look everywhere to be puzzled of what went wrong and realise that you missed a semi colon assuming that language to be semi colon independent.
-
Excel is a powerful and extremely versatile application, but one thing that really SUCKS about it, is that formulas are language-specific! So if using Outlook in - for example - Swedish you can't write "IF(<expression>,<then>,<else>)" but instead "OM(<expression>;<then>;<else>)". Note the semi-colon instead of comma (because in Swedish comma is used as decimal). AAARGGH! This pisses me off!2
-
So I'm writing my compiler and I decide to test error handling, see if I'm catching unexpected tokens and whatnot. I try duplicating a semi-colon at the end of a line, for sure it'll give me an error since that's an unexpected token, isn't it? So I run the compiler and... No errors? I start debugging for a few minutes, snoop around, everything seems ok... "Huh, that's weird" and then it dawns on me, a semi-colon only marks the end of a statement. So, technically, it's not an unexpected token if you have an empty statement (which wouldn't break any rules about statements). I decide to try out my theory. I put ;;;;;;;; at the end of a random line in my rust code, hit compile and... it compiles! So that means it is not a bug anymore! I mean, if the big guys that actually know a tad about language design, compilers and all that cool stuff allow it in their languages, why shouldn't it? So I did it, I turned a bug into a feature and now I can go to sleep in peace and stop dreaming about fucking abstract syntax trees (don't mind my kinks >:) ).
Yeah anyways thanks for reading, till next time! Bye!1 -
You know what's new among my team?
The one that put semi colon and the one doesnt. (Yes javascript)1 -
I think I can, I think I can, I think I can Ahh darn missing semi colon... I think I can I think I can!!
-
When you're writing a Perl script and spend 2 hours trying to figure out why it's not working and it turns out that you missed a semi-colon.2
-
I mean, seriously, who needs sleep anyway? Oh, you missed a semi-colon at the end of that line? Boom! Code's broken, and I'm on a wild goose chase.
Thanks for the extra hours of debugging, Captain Forgetful!6 -
WOAH MOMENT
Just realized 3 most important symbols in web development, maybe programming in general.
1. / the root
2. ; semi colon your old nemesis
3. ~ where you live
You should not be here if you don't understand, just kidding but seriously they are very important.