Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
catadoxa4166yThis sounds like one of those errors that make me think "Did I just find a bug in the language itself?"
Spoiler alert: You didn't. Good luck with that one though sounds very weird. -
Hostard3386y@netikras in ABAP. There is a sort of wait, but it also does some other things (eg. database commits) and the minimal time for the statement is 1s (I figured out, that 200ms are enouth)
-
Race conditions or use of uninitialised variables would be typical for that behaviour.
-
mrstebo9306yI've experienced this in dotNET before 🙈
Out of curiosity, what language was it? 😬 -
Hostard3386y@mrstebo The language was ABAP (a relatively unknown language by SAP, but relatively good for large business applications)
Related Rants
So I'm writing this code, that does 2 important things, that cannot be seperated. I run the code, thing1 is correctly executed, thing2 not. No fucking idea, why this happens. Execute again, same result. Debugg the wohle thing, now everything works fine.
WHAT?
I check the code, there are no background tasks, no paralell processing, nothing that should go wrong.
Asking a Senior developer for help, he also has no fucking idea. He tells me to try to wait one second between the two things. Looking for a delay() or wait() function in my programming language but there is none. Ok, building my own delay, writing a "do 1000 times" loop, calculate some shit in it. Execute the code, it works perfectly.
Nobody has a fucking idea, why this is happening and why this solution is working, but now the code is productive and it works fine.
rant
delay
debugging
story
loop
wait