Have you ever...

1    10 Jul 2015 00:10 by u/StinzorgaKingOfBees

Compiled a program, had it not work, look at it without changing anything, compiled it again just for the heck of it, and it worked. I took CS in high school and I swear this happened once or twice. Maybe I imagined it. Just want to be sure I'm not just dreaming.

6 comments

1

You must use Visual Studio!

Jokes aside, not all build processes are deterministic. They should be, but we get what they give us, I guess.

1

I don't know what compiler I was using, but it was C++ language. So then does this actually happen? I haven't been involved in programming since high school, but I'm trying to get into it again. Starting with Java and thinking about HTML & CSS.

1

Yes, it can happen. I believe most Java IDEs are good at keeping their build process sane. But I haven't used them all.

1

This is the reason why I build and compile at least twice!

0

Good idea!

0

Quite often when I am doing web stuff I have to rebuild a couple of times or Ctrl + F5 the browser thanks to file caching.