Ask coding questions

← Back to all posts
What's the funniest mistake you've ever seen (or made!) in a line of code?
katyadee

I'm talking rolling on the floor laughing bad. Like, one of those "I can't breathe" kind of laughter moments.

Show me your best...or worst!

Voters
awesome10
JustARatherRidi
Steven_The_GuyT
ryanhcode
katyadee
Comments
hotnewtop
EchoCoding

My worst coding error would probably have to be making a 300+ line program and running it, just to see that my indentation was wrong. Mind you, there were a plethora of indentations :(

katyadee

@EchoCoding Uh oh. how long did it take to fix?

ryanhcode

Coding an entire python project in a JavaScript REPL and spending hours trying to figure out why I was getting syntax errors.

katyadee

@ryanhallihan relatable content

Imanoob_coder

I was writing an essay for school in a python ide and ran from habit and didnt know why it gve me syntax errors

JustARatherRidi

This.

IenConor

Thats really nice information. Im in college now and i need help with my paper task. I think that buy essay online cheap here https://www.livepaperhelp.com/do-my-essay.html is really good option. What do you think? Im already receive some help from writers in the past and all were fine.

kavontoy

I do love it! unblocked games

AlexGambler

If you have always dreamt of playing casino games like a pro, it is time to check out online casino reviews, blog posts, and guidelines on Casinority. Casinority lists the most high https://casinority.com/at/ quality and reliable casino sites in the web.

Carter909

sometimes I forget to write a semicolon in my line and also I forget to save my program and do a direct click on the execution.
Carter from https://www.britishdissertationwriters.co.uk

JackPonting

Are you searching for dissertation help from experts? Feel free and hire experts of Quality Dissertation where they are offer law dissertation help - http://www.qualitydissertation.co.uk/law-dissertation-topics-help with pocket friendly rates in UK.

JackPonting

Are you searching for dissertation help from experts? Feel free and hire experts of Quality Dissertation where they are offer law dissertation help - http://www.qualitydissertation.co.uk/law-dissertation-topics-help with pocket friendly rates in UK.

firefish
awesome10

writing like 300 lines of code and getting a syntax error over and over and changing everything and then realizing i forgot a colon

DavidPen

doing some template modifications on a 5-6 year old wordpress site at work I ran into this little gem from the previous dev (this was attached to a template hook):

MATTHEWBECHTEL

Umm..... Let me think. I um... I don’t know XD. Anyone here know a funny mistake I asked about? Or just wandering through my repls?

mwilki7

defining a struct that's dependent on another before defining the original struct in C++

gave me terrible unhelpful linker errors that took hours to figure out

and of course, the classic missing semi-colon error

Steven_The_GuyT

I haven't had any super funny mistakes, but I'll get back to you (after I purposefully code some errors)

Anyways, I would really want to see what the repl community can come up with!

katyadee

@Steven_The_GuyT Me too, I'm excited!