66

Started learning C++, coming from Python.

Just spent ~25 minutes searching for a problem - My code wasn't working like I expected.

Problem: Didn't compiled the program, kept running old code, didn't noticed

Comments
  • 2
    Hahah. It takes a bit to get used to recompiling every time you run the program. The beauty of old coding languages! :D
  • 6
    Welcome, friend. To the painful but beautiful path of compiled languages.
  • 13
    Get a better IDE to avoid stupid mistakes. And focus on what matters
  • 3
    Lol, this made me giggle. It's also harder for c++ devs learning python because they wonder why they don't have to recompile to run
  • 1
    Codeblocks is pretty good for c and c++ in my opinion
  • 4
    CLion from JetBrains ;)
  • 1
    @shelladdicted ++ for that, especially if you're learning, get a real IDE that avoid mistake like that and let you focus on the real deal.
  • 0
    I did something that remember this.

    I was trying to make a simple fix on an old website. I had it configured to upload the changed files automatically. Spent some time trying to understand why the fix was not working, until I notice it were uploading to the old webhosting.
Add Comment