129
fyroc
8y

GF: Why are working so late?
Me: Because no matter what I do, everything is working correctly.
GF: What....

The only career when you have to work late because everything is working like it should (cannot reproduce an issue).

Comments
  • 15
    Do you ever have that ONE customer who does goodness only knows what, to have the most peculiar things happen, and is smart enough to screen shot them all to send to you to fix but you can 99.99% of the time NEVER reproduce the issue? ...yeah...I have one of those...lol
  • 2
    if {
    int GF = angry;
    print "Run for your life" }
  • 20
    @MoboTheHobo pls don't tell me that's a valid language.
  • 7
    @MoboTheHobo i take it as you defined angry somewhere unbeknownst to us. And you're better off with a bool while im at it
  • 3
    @daintycode nope just for fun. In c++ it would be:

    if (GF = angry) {
    cout << "Run for your live";
    }

    Well I could make my own programming language and call it angry GF 😂
  • 5
    If(true) is faster.
    But to check equality you should use ==?
  • 6
    @MoboTheHobo if angry is not 0 the value would be always true and the if-statement would be optimized away. If it is 0, the code would be unreachable and the whole block won't find its way into the executable.

    Either way, that 'if' is pointless
  • 16
    This whole thread is trying to define the correct, and optimal syntax to define an angry girlfriend.
    I have tears of joy having found devRant. You guys.. ಥ_ಥ
  • 8
    There is no conditional logic needed since angry is always true with the GF object.
  • 4
    Ask yourself in C++:

    #include "stdafx.h"
    #include <iostream>

    using namespace std;

    int main()
    {
    char response;
    cout << "Is your Girlfriend angry? (y/n): ";
    cin >> response;

    if (response == 'n') {
    cout << "I think you got a Syntax error. Always GFAngry == true" << endl << endl;
    }

    else if (response == 'y') {
    cout << "Run for your live!" << endl << endl;
    }
    else {
    cout << "Do you even have a Girlfriend?" << endl << endl;
    }
    return 0;
    }
  • 1
    Guys he was making a joke who cares if it would not compile
  • 2
    Write a program that spams your program with all possible inputs, then let it run while you sleep.

    That's actually how I reproduced a bug in some library our webserver used. Just spamming all sorts of request until in hung... then took a memory dump and .... BOOM! deadlock found!
  • 3
    @MoboTheHobo you motherfucker just did this on your phone like it's not a big deal?
  • 2
    @daintycode Always trust the Hobo 😂
    Nah coded it on my Computer. You can also access Devrant on your webbrowser 😉
  • 1
    Oh, you're right. My bad.:D
  • 3
    @MoboTheHobo eww, pre-compiled headers
  • 4
    class Girlfriend # extends Partner
    def tick
    if @boyfriend.beingAnIdiot?
    @anger++
    if @anger>RANT_THRESHOLD
    chastise @boyfriend
    super
    end
    end
  • 1
    @Ashkin RANT_THRESHOLD varies wildly between 0 and 2^64, depending on platform and model, eh?
  • 2
    @Ashkin class Girlfriend definitely extends Partner iykwim
Add Comment