~ archived since 2018 ~
Popular
Other
brownbag18
[–]mthrowaway5233 points34 points35 points 8 years ago (8 children) | Copy Link
You just gave me a bunch of flashbacks.
Thanks. And yes, it was almost always for missing a single ";" in the middle of tens of thousands of lines of code. The program was modular so this occurred very often. I am so glad I am no longer involved in that project.
Fortunately sometimes the debugger would catch it or I could run it and just see myself where exactly the code broke. Sometimes it wouldn't even attempt to run and I would have to go line by line and see what line has a : instead of a ;
[–]TheRailTracer19304 points5 points6 points 8 years ago (2 children) | Copy Link
That sounds like a really big pain in the ass, I would need ritailn
[–]mthrowaway525 points6 points7 points 8 years ago (0 children) | Copy Link
It gets worse, sometimes when there's an extra ; the entire thing would just break and do nothing.
Sometimes I would have to throw in an extra ; somewhere and the code would of course magically work. And you would have no idea why.
[–]Keyhre2 points3 points4 points 8 years ago (0 children) | Copy Link
But damn is it satisfying when the code finally works
[–]TyrannicalWill1 point2 points3 points 8 years ago (0 children) | Copy Link
Don't you have a compile check for that on your IDE?
[–]matthevv3 0 points1 point2 points 8 years ago (3 children) | Copy Link
I would have to go line by line and see what line has a : instead of a ;
Control F is your friend...
[–]mthrowaway520 points1 point2 points 8 years ago (2 children) | Copy Link
Not even there's hundreds of hard coded text strings (yea yea I know) that have a :
[–]Severian_The_Sleeper 1 point2 points3 points 8 years ago (1 child) | Copy Link
Search for :$ . Should be like two lines in bash or sed.
[–]YiffMeAssange0 points1 point2 points 8 years ago (0 children) | Copy Link
I think \n works for newlines in regex.
[–]GenesisRunner12 points13 points14 points 8 years ago (8 children) | Copy Link
When I used to code, over a decade ago, compilers would usually point you to the location of the error if it was as simple as a missing semicolon, or a syntax error (usually typos).
But what do I know, compilers these days are probably written by female "engineers", so the compile error could be something like:
"Error in your code, you patriarchal, misogynistic, shitlord! Go figure it out on your own, asshole!"
[–]dredd_9216 9 points10 points11 points 8 years ago (2 children) | Copy Link
Compilers do point locations of errors. But there are also interpreted languages, in which code is interpreted and executed line by line.
Because of this, even a program with an error will work fine until the interpreter reaches the line containing the error (If reaches at all). And, especially since it's a PHP interpreter, written by a man, by the way, debugging it is a huge pain in the ass.
[–]poloppoyop2 points3 points4 points 8 years ago (0 children) | Copy Link
Use a good IDE and most errors are catched before you try to execute anything. With things like Phpstorm + EA extended you get tons of warning to make you write better code.
For the pure debugging, using xdebug to see the execution line by line with the possibility to analyse every variable' state make things a lot easier.
The problem really starts when you're doing asynchronous parallel code. Suddenly you lose most debug tools.
[–]GenesisRunner0 points1 point2 points 8 years ago (0 children) | Copy Link
You are absolutely correct.
[–]Teflon08194 points5 points6 points 8 years ago (0 children) | Copy Link
"I have a problem with your code."
"Oh? What's the problem?"
"There's no problem, I'm fine."
[–]raisins3142 1 point2 points3 points 8 years ago (0 children) | Copy Link
Yeah, the hardest bugs to find are when the code compiles and executes but gives you results only slightly different than what you want.
[–]Severian_The_Sleeper -1 points0 points1 point 8 years ago (1 child) | Copy Link
No, compilers are pretty good these days. Also, poor example, since the compiler itself was invented by a woman. (Rather famously so.)
[–]GenesisRunner1 point2 points3 points 8 years ago (0 children) | Copy Link
Some quick research shows that not to be the case.
Yes, she did work rather extensively with the first UNIVAC. Yes, she did work on the A-0 System (programming language). And yes, she did write a loader/linker process for the UNIVAC and coined the term "compiler" in 1952.
BUT...
The first complete compiler was developed by Alick Glennie (male) for the Mark 1 computer system in the same year that Grace Hopper wrote the half-baked implementation of a compiler.
Unfortunately, for the powers that be, it's cooler to run around and preach that such amazing and initial achievements in computing were made by women.
[–]critopia12 points13 points14 points 8 years ago (2 children) | Copy Link
Don't the modern IDE's tell you where you missed the ;??
[–]Severian_The_Sleeper 1 point2 points3 points 8 years ago (0 children) | Copy Link
Compilers do, the ide is usually running or simulating the compiler. Missing syntax markers can be hard to detect. You get into cases where two expressions could be joined to create another valid expression, which makes it impossible to guess at the author's intent.
[–]lonewolf-chicago5 points6 points7 points 8 years ago (0 children) | Copy Link
Awesome!!!!
[–]the-capitan 2 points3 points4 points 8 years ago (8 children) | Copy Link
his first mistake was using zend.
flaming shitpile. never seen so much boilerplate. it's like "let's take all the worst parts of java and python, and none of the good parts, and shove them all up your ass with no lube."
[+][deleted] 8 years ago* [recovered] (7 children) | Copy Link
python is the worst thing that has ever happened to software development.
[+][deleted] 8 years ago (4 children) | Copy Link
[deleted]
[–]the-capitan 0 points1 point2 points 8 years ago (1 child) | Copy Link
because it was originally designed as a generic sysadmin scripting language, and instead of changing things, they added garbage on top. that's why python's boilerplate in modern webdev is so bad.
python's use of wsgi in webdev is a fragile piece of shit.
OO is python is a joke, especially around mutables and abstract references. PHP and JS also had terrible OO in the early days but fixed it over the years.
[+][deleted] 8 years ago [recovered] (1 child) | Copy Link
because it's all about the looks of your code and while it must be formatted beautifully it'll still be garbage because the foundation is pure shit. shitty performance, shitty security etc. (and I'm saying this as a java dev)
[–]brownbag18[S] 0 points1 point2 points 8 years ago (1 child) | Copy Link
Actually I used to hate it at first... Then it grows on you...
[–]csehszlovakze1 point 8 years ago [recovered] | Copy Link
it didn't grow on me... you do one fucking space wrong and your program already doesn't work, and it also keeps bitching about the "beauty" of the code... typical female if you ask me
[–]WoahScienceCool1 point2 points3 points 8 years ago (0 children) | Copy Link
Great post.
Ive been up nonstop for days, if not weeks, now trying to learn Technical Analysis and reading charts for day trading FOREX, as well as improving my trading strategy. This is just with a demo account, not even real money yet. Shit is way more than a full-time job, even if the actual trade itself may only take up just a few minutes of your day.
Its not coding but I can definitely relate sitting in front of your computer for hours on end, going over all your work with a fine tooth comb in the late hours of the night.
[–]realChebz1 point2 points3 points 8 years ago (0 children) | Copy Link
bwahahaa I am THAT guy :) Except I don't do php.
p.s. also missed a ';'? Cmon dude it's 2017, get a better IDE!!
[–]OtherworldlyBeing 1 point2 points3 points 8 years ago (0 children) | Copy Link
Don't be like either of these guys. Getting consistent sleep is one of the best things you can do for yourself.
[–]SnapshillBot0 points1 point2 points 8 years ago (0 children) | Copy Link
Archived for your convenience
Snapshots:
I am a bot. (Info / Contact)
[–]MatthewsIsGod 0 points1 point2 points 8 years ago (1 child) | Copy Link
as someone who has no idea about coding these jokes always fly over my head
[–]TheRailTracer19301 point2 points3 points 8 years ago (0 children) | Copy Link
Basically without the semicolon the code would not register
[–]ZealousMathematician0 points1 point2 points 8 years ago (0 children) | Copy Link
Ahh! All those semicolons I miss in my C++ class now feel meaningful!
[–][deleted] 0 points1 point2 points 8 years ago (0 children) | Copy Link
That's what happens when you try to be all hipster and shit and code in some text editor instead of an IDE with proper syntax checking.
[–]Belrick_NZ0 points1 point2 points 8 years ago (0 children) | Copy Link
; missing is like a 4sec spot n fix...
[–]UrbanEngineer0 points1 point2 points 8 years ago (0 children) | Copy Link
ITT: MGTOW is actually all programmers.
[–]Vision_Ultimate 0 points1 point2 points 8 years ago (0 children) | Copy Link
Fuck java, don't have to deal with this shit in Python
[–]brownbag18[S] 0 points1 point2 points 8 years ago (0 children) | Copy Link
More like: because of a weird deadlock situation.
[–]kevjay17 0 points1 point2 points 8 years ago (0 children) | Copy Link
Nooooo. Programming is the Devil's work.
[–]eluusive0 points1 point2 points 8 years ago (0 children) | Copy Link
That's php. If he spent that long trying to find out where he missed a ';'... I want him nowhere near my codebase.
[–]sindrone70 points1 point2 points 8 years ago (0 children) | Copy Link
I have been. Fuck python up the ass
[–]38SPL0 points1 point2 points 8 years ago (0 children) | Copy Link
I'm teaching myself C# at the moment with a Microsoft beginners programming guide. It's just for something to do and to determine whether software development could be a potential career move in the future.
Starting to think I'm not really cut out for it. Mad respect to all you programmers out there. It seems difficult and something that would require a lot of patience. Patience isn't one of my strong points unfortunately.
[–]justicecantakeanap0 points1 point2 points 8 years ago (0 children) | Copy Link
I like the joke here, but it's just plain impossible today to miss that while coding, unless you are just programming on just a text file like a badass.
[–]marlon_brando_diet 0 points1 point2 points 8 years ago (0 children) | Copy Link
Use a linter, man.
Who knows. This is a scripting language. What if the semi colon he forgot was in a script loaded dynamically at a later time during runtime from the database...
Code beauty is essential because programming is an art. Gender has nothing to do.
Programming is the best but you need a fun motive rather than patience IMHO.
Why?
© TheRedArchive 2026. All rights reserved.created by /u/dream-hunter
[–]mthrowaway5233 points34 points35 points (8 children) | Copy Link
[–]TheRailTracer19304 points5 points6 points (2 children) | Copy Link
[–]mthrowaway525 points6 points7 points (0 children) | Copy Link
[–]Keyhre2 points3 points4 points (0 children) | Copy Link
[–]TyrannicalWill1 point2 points3 points (0 children) | Copy Link
[–]matthevv3 0 points1 point2 points (3 children) | Copy Link
[–]mthrowaway520 points1 point2 points (2 children) | Copy Link
[–]Severian_The_Sleeper 1 point2 points3 points (1 child) | Copy Link
[–]YiffMeAssange0 points1 point2 points (0 children) | Copy Link
[–]GenesisRunner12 points13 points14 points (8 children) | Copy Link
[–]dredd_9216 9 points10 points11 points (2 children) | Copy Link
[–]poloppoyop2 points3 points4 points (0 children) | Copy Link
[–]GenesisRunner0 points1 point2 points (0 children) | Copy Link
[–]Teflon08194 points5 points6 points (0 children) | Copy Link
[–]raisins3142 1 point2 points3 points (0 children) | Copy Link
[–]Severian_The_Sleeper -1 points0 points1 point (1 child) | Copy Link
[–]GenesisRunner1 point2 points3 points (0 children) | Copy Link
[–]critopia12 points13 points14 points (2 children) | Copy Link
[–]Severian_The_Sleeper 1 point2 points3 points (0 children) | Copy Link
[–]lonewolf-chicago5 points6 points7 points (0 children) | Copy Link
[–]the-capitan 2 points3 points4 points (8 children) | Copy Link
[+][deleted] [recovered] (7 children) | Copy Link
python is the worst thing that has ever happened to software development.
[+][deleted] (4 children) | Copy Link
[deleted]
[–]the-capitan 0 points1 point2 points (1 child) | Copy Link
[+][deleted] [recovered] (1 child) | Copy Link
because it's all about the looks of your code and while it must be formatted beautifully it'll still be garbage because the foundation is pure shit. shitty performance, shitty security etc. (and I'm saying this as a java dev)
[–]brownbag18[S] 0 points1 point2 points (1 child) | Copy Link
[–]csehszlovakze1 point [recovered] | Copy Link
[–]WoahScienceCool1 point2 points3 points (0 children) | Copy Link
[–]realChebz1 point2 points3 points (0 children) | Copy Link
[–]OtherworldlyBeing 1 point2 points3 points (0 children) | Copy Link
[–]SnapshillBot0 points1 point2 points (0 children) | Copy Link
[–]MatthewsIsGod 0 points1 point2 points (1 child) | Copy Link
[–]TheRailTracer19301 point2 points3 points (0 children) | Copy Link
[–]ZealousMathematician0 points1 point2 points (0 children) | Copy Link
[–][deleted] 0 points1 point2 points (0 children) | Copy Link
[–]Belrick_NZ0 points1 point2 points (0 children) | Copy Link
[–]UrbanEngineer0 points1 point2 points (0 children) | Copy Link
[–]Vision_Ultimate 0 points1 point2 points (0 children) | Copy Link
[–]brownbag18[S] 0 points1 point2 points (0 children) | Copy Link
[–]kevjay17 0 points1 point2 points (0 children) | Copy Link
[–]eluusive0 points1 point2 points (0 children) | Copy Link
[–]sindrone70 points1 point2 points (0 children) | Copy Link
[–]38SPL0 points1 point2 points (0 children) | Copy Link
[–]justicecantakeanap0 points1 point2 points (0 children) | Copy Link
[–]marlon_brando_diet 0 points1 point2 points (0 children) | Copy Link
[–]brownbag18[S] 0 points1 point2 points (0 children) | Copy Link
[–]brownbag18[S] 0 points1 point2 points (0 children) | Copy Link
[–]brownbag18[S] 0 points1 point2 points (0 children) | Copy Link
[–]brownbag18[S] 0 points1 point2 points (0 children) | Copy Link