Debugging code for 2 hours.... Typed strimg instead of string

Nov 15, 2016 5:30 AM

Stormy251

Views

45639

Likes

1223

Dislikes

66

I'm a long time lurker trying to start making posts ! Spare a point for the newly :-)

This is why sql is fun.

9 years ago | Likes 1 Dislikes 0

shouldn't the compiler give off that error/warning right off the bat?

9 years ago | Likes 1 Dislikes 0

Happens to the best of us dude

9 years ago | Likes 1 Dislikes 0

Been there, left a semi-colon off of that.

9 years ago | Likes 1 Dislikes 0

Know that feel. Oh lord do I know that feel...

9 years ago | Likes 1 Dislikes 0

I am dear inside

9 years ago | Likes 15 Dislikes 1

Haha nice that is oh so painful but quite funny.

9 years ago | Likes 5 Dislikes 0

Strimgur

9 years ago | Likes 2 Dislikes 0

As a software engineer, this is how we all start out. Eventually those bugs will take you seconds.

9 years ago | Likes 3 Dislikes 0

As a programming teacher, I am always trying to encourage my students with statements like these. You develop an eye for it after a while.

9 years ago | Likes 1 Dislikes 1

People often forget where they came from.

9 years ago | Likes 2 Dislikes 0

I know how you feel. I always type puboc instead of public

9 years ago | Likes 2 Dislikes 0

I often type pubic. It still makes me laugh when I do.

9 years ago | Likes 1 Dislikes 0

Are you using notepad or something get an ide

9 years ago | Likes 1 Dislikes 0

I once spent an entire all nighter debugging what turned out to be a missing semi colon.

9 years ago | Likes 1 Dislikes 0

Ah, the joys of automatic declaration!

9 years ago | Likes 1 Dislikes 0

This hit home a little too hard

9 years ago | Likes 2 Dislikes 0

Two hours to find a typo like that? You need a better IDE/compiler

9 years ago | Likes 15 Dislikes 0

Intellisense has made me lazy

8 years ago | Likes 1 Dislikes 0

I feel your pain, 5 hours for me once in a 2000 line program, I was dividing a float by 3 and not 3.0 ...

9 years ago | Likes 1 Dislikes 0

keep your chin up and thanks for the laugh.

9 years ago | Likes 2 Dislikes 0

Spent a shameful amount of time debugging code one night... I typed "groud" instead of "ground". We're all prone to humanity, it seems.

9 years ago | Likes 6 Dislikes 0

Indeed, it's usualy something in the middle of a word that your brain just fills in for you .... Like it did with the word usually ;-)

9 years ago | Likes 7 Dislikes 0

Maybe you should consider a programming language that is more user-friendly when it comes to such trivial mistakes

9 years ago | Likes 1 Dislikes 0

I hope you are paid by the hour.

9 years ago | Likes 1 Dislikes 0

strin

9 years ago | Likes 1 Dislikes 0

That was similar to yesterday for me

9 years ago | Likes 1 Dislikes 0

Which language?

9 years ago | Likes 1 Dislikes 0

Probably a C language since string is a variable type. | #include

9 years ago | Likes 1 Dislikes 0

I'd be curious to know too, even JavaScript has static type checking / linter

9 years ago | Likes 2 Dislikes 0

Exactly

9 years ago | Likes 1 Dislikes 0

if (foo=TRUE) do_something(). 5 hours of "why the **** do you do something every time?!" later: "Oh."

9 years ago | Likes 3 Dislikes 0

Switching back and forth from C# to VB.Net, I do this way too often...

9 years ago | Likes 2 Dislikes 0

You must code in notepad. This is why people use IDE's

9 years ago | Likes 121 Dislikes 6

Powershell tells you was is causing the bug btw

9 years ago | Likes 1 Dislikes 0

Sublime text is pretty neato too

9 years ago | Likes 3 Dislikes 0

I've really been digging notepad ++ lately. and lots of extensions for VS.

9 years ago | Likes 2 Dislikes 0

You younguns and your fancy tools - try doing that on an 80 column green screen at 3:00 in the morning.

9 years ago | Likes 1 Dislikes 0

Maybe a variable name. Compiler/interpreter should have found this, though.

9 years ago | Likes 5 Dislikes 0

no kidding. that's a hell of a typo to go unnoticed for 2 hours.

9 years ago | Likes 25 Dislikes 0

I've done it. To my eternal shame.

9 years ago | Likes 1 Dislikes 0

If it takes you 2 hours to find a basic syntax error, you shouldn't be a programmer.

9 years ago | Likes 3 Dislikes 2

or OR or... Javascript?

9 years ago | Likes 6 Dislikes 1

javascript devs worth their salt would be using static type checking / linter. this isn't 2006

9 years ago | Likes 1 Dislikes 0

Like ' typeof (variable) === "strimg" ' perhaps?

9 years ago | Likes 9 Dislikes 0

Literally LMAO

9 years ago | Likes 3 Dislikes 2

Tried to upvote for two hours but found I had typed upboat.

9 years ago | Likes 47 Dislikes 2

Mild lols. Or exhaling spare air. In any case, thanks

9 years ago | Likes 1 Dislikes 0

what's upboat?

9 years ago | Likes 10 Dislikes 0

What's strimg?

9 years ago | Likes 3 Dislikes 1

Nothing sailor

9 years ago | Likes 14 Dislikes 0

Nuttn, what's upboat with you?

9 years ago | Likes 3 Dislikes 0

99 little bugs in the code, 99 little bugs. Take one down. Patch it around. 126 little bugs in the code

9 years ago | Likes 283 Dislikes 3

This is fantastic

9 years ago | Likes 3 Dislikes 0

As someone who had to test and validate a group project website, this hits home.

9 years ago | Likes 20 Dislikes 0

I'm in school for coding.. And stuff like this scares me

9 years ago | Likes 4 Dislikes 0

It's actually really rewarding to solve a bug that's been plaguing your team for hours

9 years ago | Likes 3 Dislikes 0

I imagine so. Its just a little intimidating to think about the transfer from doing stuff like that in school to doing it at work. Ya know?

9 years ago | Likes 2 Dislikes 0

yeah, I just got my first job outside of school. It also happens to be a job where I am expected to act as if I've been doing this 1/?

9 years ago | Likes 2 Dislikes 0

for years. very sink or swim. it's been the most stressful yet fun part of my life so far. 2/2

9 years ago | Likes 2 Dislikes 0