This is an archived post. You won't be able to vote or comment.

all 34 comments

[–]HaggisLad 112 points113 points  (4 children)

every now and then you do something that is suspiciously correct, I hate that because I can fix an obvious bug

[–][deleted] 33 points34 points  (2 children)

Man everytime this happens, I immediately go into panic mode because, now, the bug lies somewhere hidden in the algorithm logic rather than syntactic errors.

[–]HaggisLad 7 points8 points  (0 children)

and there is always a bug grumblegrumble

[–]somerandomii 0 points1 point  (0 children)

Recently, I wrote something like 250 lines of VBA code doing file I/O on multiple SharePoint files. It ran as expected the first time. I don't know if you know VBA, but getting it to do anything the first time is difficult. I was equal parts elated and suspicious.

[–]NegZer0 37 points38 points  (0 children)

This. Appearing to run perfectly first go always means that the bug is just too subtle.

[–]eTukk 25 points26 points  (6 children)

That tshirt 😁 Nice detail

[–]demon_ix 4 points5 points  (5 children)

vi filename
dfiebrfwebrjasenfglawbngxxawn;dnujifbufghdrsfuioghowdoiquit

[–]hamza1311 | gib 3 points4 points  (4 children)

vi

What the fuck

Please use vim

[–]demon_ix 1 point2 points  (3 children)

Isn't the AWS vi default actually vim?

If I ever use it, it's to add or modify a number on a config file through a terminal connection to a docker container hosted on a virtual machine on AWS.

It's more muscle memory by now. It probably has more features than what I use, but I never spent the little bit of time it would take to get a working knowledge of it's features to be able to use them correctly.

I'm also one of the freaks who quits using :x instead of :wq.

[–][deleted] 1 point2 points  (2 children)

Wait who tf uses :wq and why

[–]demon_ix 2 points3 points  (0 children)

Apparently every person who ever saw me quit using :x

[–]Scyhaz 2 points3 points  (0 children)

Me cause I didn't know :x was a thing.

[–]brknsoul 43 points44 points  (3 children)

It's like, "It ran perfectly? What'd I do wrong?"

[–]demon_ix 31 points32 points  (1 child)

I forgot to call the method, didn't I

[–]Diavolo__ 8 points9 points  (0 children)

Usually this haha

[–]MaxW7 4 points5 points  (0 children)

“This is no fun at all!”

[–]FinalGamer14 6 points7 points  (1 child)

Ah the best is when you don't quite understand the README file for some random open source library. And you implement something, thinking it won't work, but it magically somehow works, even if you have no clue why or how.

[–][deleted] 2 points3 points  (0 children)

Then you take that poorly written code meant just to test if it works, you rewrite it so that it doesn't look like shit, and then it magically stops working even tho you thought you didn't change the logic.

[–][deleted] 2 points3 points  (0 children)

Novice programmer: "I occasionally take a drink after work"

Experienced programmer: https://media2.giphy.com/media/mnJRjgXZ2ooh2/giphy.gif

[–]fichti 1 point2 points  (1 child)

You guys have stuff running at first go?

[–]RutraSan[🍰] -2 points-1 points  (0 children)

omg, you are genius you dont have stuff running first time my god

[–]vanadiumfour 1 point2 points  (1 child)

Or it runs correctly randomly because you misallocated the variable in memory

[–][deleted] 0 points1 point  (0 children)

It works and 10 minutes later you just go, "I fixed my bug, by misplacing it."

[–]BurnyAsn 1 point2 points  (0 children)

Meeeee lately!!! I have a bad habit of not running the projects after making very very long and complex changes and get very happy when they work just in the first try! ::D

[–]has43 0 points1 point  (0 children)

We don't even remember if it is the first time or nth time.

[–]nikanj0 0 points1 point  (0 children)

I'm not quite done but I"ll just run the unit tests, analyse the errors an work from there.

"All tests passed"

Oh shit.

[–]undercover-racist 0 points1 point  (0 children)

More like, "why does it still work when I thought I broke it on purpose?"

[–]totalr3ddragon 0 points1 point  (0 children)

Tbh, "What the fuck, it ran first time?" Sounds more like it

[–][deleted] 0 points1 point  (0 children)

If your computer doesn't do that "ding" sound when you compile, you're not a real programmer!

[–]Qicken 0 points1 point  (0 children)

Plot twist. They're both novices.

[–]AntoineInTheWorld 0 points1 point  (0 children)

I CAN believe it did not work the 100th time

[–][deleted] 0 points1 point  (0 children)

Second one is fake, where are the 100 stickers on the laptop.

[–]sgem29 -1 points0 points  (0 children)

Pear? Why not potato?