8
fa11en
7y

When you don't write unit tests and expect it to work on the first try

Comments
  • 6
    And it does work and you don't know why
  • 4
    @CozyPlanes Unit tests are great but what really helps with that is ritualistic blood sacrifices to idols imbued with the power of the satan in the form of 90's Saturday cartoon show merchandise.
  • 1
    One time, recently, I opened a file in vim to test a library function quickly in C++. Ended up writing a few more classes in C++ and a CMakeLists. All in vim just because I was on a roll and hadn't thought about opening VSCode.
    Tried to compile, had to fix a couple of things in the CMake. Ran it first go and everything worked. Quite pleased.

    Just realised what I had done and opened project with VSCode after that.

    Been doing this stuff so long that I usually don't screw up and when I do I wait for the CI to tell me.
Add Comment