+ 53

What were your funniest mistakes or error messages you typed into your code?

I once wrote a code that led to an endless loop that printed: Ho ho ho ho ho ho ... (It was by mistake of course) Share your stories! :D

3rd May 2017, 8:16 AM
‎ɐısıօլɐ
‎ɐısıօլɐ - avatar
123 Antworten
+ 115
I programmed an arcade game in JavaScript and everytime I fired a laser from the space ship, the game ended and I couldn't figure out why. After two weeks of frustration, I figured out that the spawn point of the bullet was touching the ship at the front, so whenever I shot it just dealt damage to myself and killed me.
4th May 2017, 2:37 PM
Nicholas Rutledge
Nicholas Rutledge - avatar
+ 79
Using cmd to turn off others computers, I turned my own off. 😢😢😢
4th May 2017, 11:57 AM
JRE
JRE - avatar
+ 68
Program wouldn't read from text file. After 30 minutes of debugging -> full file name had extra extension. It was "text.txt.txt" instead of "text.txt" but the OS didn't show anything. I was demotivated to do anything for the rest of the day.
3rd May 2017, 10:15 AM
Hatsy Rei
Hatsy Rei - avatar
+ 61
My Fibonacci series started with -ve numbers and never ended...😉 P.S. And the funniest thing was that I got more than 5 likes on it :P
3rd May 2017, 8:24 AM
Dev
Dev - avatar
+ 49
nothing funnier than a forgotten semicolon😂
4th May 2017, 2:29 PM
ashraf alshorafa
ashraf alshorafa - avatar
+ 41
I was making planes in unity 3D, and i made propeller rotating aroud Y axis instead of X 😂
4th May 2017, 2:18 PM
Myrtasz
Myrtasz - avatar
+ 40
Trying to make a random infinite paragrahp in JavaScript and all it said was looped "What?! Why?! What?! What?! Why?!"
5th May 2017, 2:56 AM
Complex
Complex - avatar
+ 38
System.out.println(); and system.out.println(); Just the difference of one letter(ASCII 32), causes a error.
5th May 2017, 10:03 AM
Dragon Slayer Xavier
Dragon Slayer Xavier - avatar
+ 32
Since it happened to me just now, I'll share this story: I was typing notes about UML packages diagrams and out of habit put an semicolon after a sentence, then I laughed (You know you're a programmer, if you put semicolons everywhere just not in your code 😂)
8th May 2017, 1:57 PM
‎ɐısıօլɐ
‎ɐısıօլɐ - avatar
+ 29
One time I was debugging something and I accidentally made it print "food" (I was hungry) except for "good".
6th May 2017, 1:34 AM
Xander A.
Xander A. - avatar
+ 23
I was helping a friend with his book store website and he wanted to put the original title of a book in Hebrew, I forgot to set the direction of that element to "right-to-left" (dir = "rtl") so we couldn't read it properly as it was reversed 😅
5th May 2017, 5:04 AM
Pao
Pao - avatar
+ 22
I once made a code for a quatridic formule but I never got the right answers becuase I used integers while I needed to use floats
3rd May 2017, 10:25 AM
johan beimers
johan beimers - avatar
+ 22
from __future__ import braces ... My mistakes are not funny to me. I make logical errors, but have yet to get an error like that.
4th May 2017, 7:04 PM
J.G.
J.G. - avatar
+ 22
My funniest mistake is I used to put semi colon just before the body of for loop and I wonder how many times I have repeated this same mistake.
5th May 2017, 7:09 AM
Vaibhav Sharma
Vaibhav Sharma - avatar
+ 21
Linking JS file to HTML. After 20 mins of debugging I realised I have used the wrong name of the file... I was so angry, but it motivated me to do more, unlike @Hatsy 😂😂
6th May 2017, 6:36 PM
Gami
Gami - avatar
+ 19
Semicolons are the most annoying things in the world! Once I started to make a project at 4:00 in the morning;I Completed the project that was about 60 lines But when I compiled it I got Lots of errors. Guss what was the mistake? I hadn't used any semicolons !!!!!!😄😄😄😄😄😄
7th May 2017, 11:38 AM
keivan Ipchi
keivan Ipchi - avatar
+ 19
Copied python code from stack and then the indentation errors came flowing like a waterfall... Forced to understand every line of it.
7th May 2017, 12:04 PM
Kevin Tuei
Kevin Tuei - avatar
+ 18
since I work as a CSA, I keep on typing customer instead of custom
6th May 2017, 1:44 AM
Arvie San
Arvie San - avatar
+ 18
I did once a few years ago.I knew 3 languages by then.I was writing a program and was writing java print statements in c program and tearing my hair out on why it wasnt running.
6th May 2017, 10:37 PM
Sakshi Jain
Sakshi Jain - avatar
+ 18
forgetting 500+ semi colons... not a good day
8th May 2017, 5:25 AM
DeleteThisAccount