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
-
slar3008yHaha, I have to commit a small function indented like this at work one day just for shits and giggles :)
-
akash798yAlthough you have so many semicolons, 4 essential semicolons are missing after the 4 statements
-
Bikonja23868y@akash7 they would be missing if the lines after them were not "indented" and they obviously thought about that because the last line is "indented" even though it shouldn't be, but it wouldn't compile without "indentation" or a semicolon after the last statement.
-
Will those semicolons be ignored by the compiler? Otherwise I'd think this could make a huge codebase a tiny bit slower
-
@stimulate well the idea is there's nothing to compile in between the ;; so the compiler carries on till it finds an instruction
-
@XiovV I quickly scrolled through the comments, hoping no one stole this joke :(
-
magnusi5838y@akash7 nah, they are not, they are on the next line. The rest is just empty statements. Welcome to C
I feel like I need a shower after looking at this 💀🚿
undefined