38

That awkward moment when you alter your code to see if it work this new way, and doesn't, and undo does not work. *Weapons grade facepalm*

Comments
  • 2
    Landmined.
  • 8
    Versioncontrol. Nuff said.
  • 1
    this is like complaining about the ; thing. use git or something
  • 1
    Not a problem if you use version control
  • 1
    Lol git gud
  • 0
    Someone is not doing unit tests :P
  • 2
    What does unit testing have to do with it @siksik ?
  • 0
    I'm still in school and just learning C#. I was making a program that checks to see if a number is a palindrome, and doing a check to make sure it was 5 digits long.
    I had the work in a method and left the function call in the Main.
    I could not get it to cooperate, so I googled. I saw how one guy did it all in the Main so I figured I would try that. When that brought all sorts of bugs I said screw that and went to undo, and couldn't (VS). I finally got it going though.

    Fussing at me about version control and git is useless since I haven't dealt with those. Plus I've read most schools don't like you posting your homework to git for obvious reasons.
  • 1
    @Marowski git is not necessarily public or online. Git version control can be only local on your computer, or it can be in a private remote on for example bitbucket :)
  • 0
    @disolved good to know, but right now git is the last thing on my mind. I'm working 40 hours, trying to get through three classes, and also having a family. I'll look into it when I only have one class next semester.
  • 0
    @Marowski using versioning will save you lot's of time.
  • 1
    Its even weirder when you have code that you think should work, but doesn't, then you decide to go a little overboard with your next attempt, which doesn't work either, and when you finally give up, go to bed and change everything back to how it was, it suddenly works 😰
    Had that three times with OpenGL already.
  • 0
    Version control? Local history of your decent IDE?
  • 0
    @Marowski You don't need to publish your git repo. Git will work locally just fine. You don't need a remote, and even that could be a private one. (Bitbucket offers private repos for free. So also nice way to backup your homework if your computer breaks or gets stolen.)
Add Comment