DEV Community

Cover image for What's your spookiest coding story?
Ben Halpern
Ben Halpern

Posted on

What's your spookiest coding story?

Oldest comments (81)

Collapse
 
georgecoldham profile image
George

Spent about two hours working on a complex new part of the system I was on. It worked first time without any issues.

I think the devil will come looking for me later in life...

Collapse
 
paulasantamaria profile image
Paula Santamaría

Yesterday's DEVDiscuss made me remember about this one and now I can't stop thinking about it. The frustration.. the uncertainty!

Collapse
 
fultonbrowne profile image
Fulton Browne

Collapse
 
paulasantamaria profile image
Paula Santamaría

I love this 😂

Collapse
 
grsahil20 profile image
Sahil

Cookie

Collapse
 
andrewbrown profile image
Andrew Brown 🇨🇦

I had to work on a project where all static HTTP requests had to be GETS and all API calls had to be PUTS and we were forced to use hard tab 4 spaces.

Collapse
 
paulasantamaria profile image
Paula Santamaría

no... NO 😭

Collapse
 
bellonedavide profile image
Davide Bellone

Real horror comes when the things are "realistic". So I'll go with this one from one of my previous jobs.

Collapse
 
attkinsonjakob profile image
Jakob Attkinson

This must be April's Fools day...

Collapse
 
metalmikester profile image
Michel Renaud

Many years ago my supervisor at the time was making major changes to dozens of business objects and, of course, tons of unit tests would fail. He solved the problem by commenting out all the unit tests. No time for unit tests because, "the clients don't want to pay for that."

That turned out to be a very costly mistake in the years that followed.

Collapse
 
bellonedavide profile image
Davide Bellone

For me it was quite different.
My supervisor didn't want to have unit tests, and I wasn't able to change his mind.

So, I created them anyway (just to be sure that my code worked correctly) and I didn't include the project into the solution.

Of course, it turned out that they were useful, especially for a particular algorithm. But of course he didn't recognized the value of the tests, and that he was wrong.

Collapse
 
fultonbrowne profile image
Fulton Browne

One dark and stormy night, I was installing a Linux update and during the install the power went out, the machine wouldn't boot, then the power went out during the reinstall....

Collapse
 
attkinsonjakob profile image
Jakob Attkinson

And this is why a 100$ UPS is the best Christmas gift a girlfriend can buy for a techie.

Collapse
 
manuelojeda profile image
Manuel Ojeda

Reading a Pure PHP API where the routing was validated only with if's and the route you need to go was in the url query like this:

somefile.php?query=I_need_coffee

Collapse
 
cjbrooks12 profile image
Casey Brooks

Terror … when you feel something behind you, you hear it, you feel it's breath against you, and you turn around, there's nothing there.
~ Stephen King

The worst terrors are those you know exist, and yet cannot see.

Like invisible characters that choke the life out of your YAML parser.

Collapse
 
archeelux profile image
Arturs Timofejevs

Updating UAT database that was being used by testers... with the wrong update script....... breaking the database............ I did not back up .......................................................... I... love... my... job...?

(in the end it was ok but half a day spent updating very old back up and data was lost)

Collapse
 
peledzohar profile image
Zohar Peled

I spent a couple of years maintaining a VB6 application.

Collapse
 
brianjdevries profile image
Brian DeVries

My current position involves maintaining a legacy vb6 application. Thankfully we're starting to switch over to VB.net, but it's a slow process...

Collapse
 
calebarapp profile image
calebarapp

I feel your pain. My current gig involves extending a 20 year old vb6 application. That’s of course when I’m not maintaining automation systems written in auto hot key...

Collapse
 
peledzohar profile image
Zohar Peled

Lucky for me, that era is long behind me. Working with .Net core now.

Collapse
 
michael profile image
Michael Lee 🍕

Did a git pull out of habit on a project repo I'm the only contributor for and git pulled changes down from the remote repo 😳

Collapse
 
kendru profile image
Andrew Meredith

For me, it was agreeing to maintain a PHP application, then discovering that the 200+ base files were almost exact copy-paste duplicates of each other with some minor differences, and "version control" was copying a file with a name like page1.php... or pageA.php, or page1X.php, or old_page1A_x2.php, or... 😱

Also, most of these files were just stacks of includes of other "versioned" files.

Collapse
 
aurelio profile image
Aurelio

Sounds like you were hired in hell.... How long did you last there?

Collapse
 
kendru profile image
Andrew Meredith

Thankfully it was a freelance gig, but I maintained it for 2 years. I was always filled with dread whenever I got a feature request for this app.

Thread Thread
 
bolt04 profile image
David Pereira

Gosh 2 years😱😱 that's terrifying

Collapse
 
sebbdk profile image
Sebastian Vargr

Had a a manager that would walk up behind me grab me by the shoulders and gently squeeze them to get my attention.

I was burnt out at the time and a bit jumpy, and that habit of his was pretty uncomfortable.

Literally made me look over my shoulder while working. Does that count?

Collapse
 
thebouv profile image
Anthony Bouvier

I inherited a project to write VBScript for ASP Classic sites. For a large public corporation. In 2014.

Collapse
 
fultonbrowne profile image
Fulton Browne

In case this helps you, according to stack-overflow Vb script is the least loved programming language.

Collapse
 
vincenzofehring profile image
Vincenzo Fehring

In February 2020, I purchased a software company started in 2005. The entire platform was written in VBScript for ASP Classic sites. I have been working since to convert it slowly without disrupting the active customers to a modern platform like Node or PHP

Collapse
 
mortoray profile image
edA‑qa mort‑ora‑y
print( "\U0001F47B" )
Collapse
 
jamescalviniv profile image
jamescalviniv

I was an ActionScript developer, does that count?

Collapse
 
paulasantamaria profile image
Paula Santamaría

Me too! 😂

Collapse
 
harleybl profile image
harleybl • Edited

Me too. I even went to the MAX conference in Salt Lake City. I built an online game show in Flash/ActionScript back in 2001. At a certain point the AS runtime would garbage collect my class definitions and then nothing would work. We worked around it by forcing a browser refresh after the end of each game to give the user a fresh runtime.

Collapse
 
cassandraspruit profile image
Cassandra Spruit

Definitely counts.

My first gig was damage control from the last ActionScript developer and boy howdy, it gave me plenty of cautionary tales of what not to do.

Collapse
 
codemouse92 profile image
Jason C. McDonald • Edited

Same.

ActionScript, where a vector is a fixed-size array, and an array is always a vector. Shudders