You must log in or register to comment.
Don’t test in production.
Everybody has a test environment.
Some are lucky enough to also have a production environment.
Wondering as a non coder, can something like that happen with modern languages?
When I learned some C++ back in the day I remember my code not working because I forgot a = in a == statement. But then it just didn’t compile and was unusable until I discovered it.
Back then, it would written in assembly which is has basically no compilations rules other than be translated to machine code. So it will do litterally what you tell it to do.
In C/C++:
int a = 3; if (a = 4) { printf("four");} if (a == 3) { printf("three");}
Will yield
four
.If you call the wrong variable, anything is possible.
I always fuck up some mundane detail!