Ranter
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
Comments
-
nickj51637y@dontPanic i was debugging to make sure it entered the if statement. i didnt have to put the curly braces because there was only one line after that but adding the printf makes 2 lines, thus the need of { } xD
-
@nickj haha
Remember to delete that printf("fuck\n"); before you push to production. I'm talking from experience xD -
skprog19107y@dontPanic the truth. I once pushed a icon that was a place holder picture. Which was a fuck this boss meme. It went over well in the programmers meeting. We all learned a valuable lesson. Placeholders should be pictures of cute kittens.
Related Rants
-
Dacexi24When there are only 2 pages on Google you know you're in serious shit.
-
practiseSafeHex20Fixing a parents iPhone, episode 1. Problem: "Whatsapp is gone off my phone" Debugging: Me: *unlocks phone...
-
nachocode6When you talk to other devs about what their code did. I also relate myself to this.
my code went into an infinite loop of printing "fuck". that happens when u forget to put curly braces and the first line after the if statement is printf("fuck\n");
undefined
aaaah goddamn curly braces
debugging