2024 Jun 17 5:50 PM - edited 2024 Jun 17 5:51 PM
Calling all developers! Why not take part in our latest contest on your next coffee break?! This is a coding challenge with a difference, since we'd like to hear about your most hilarious coding failure!
It's easy to participate, and you might even win a prize.
Every developer has had at least one "whoops" moment that they can recall and we would really love to hear about yours. Let OTHERS learn from YOUR mistakes 😃.
You can find all the necessary details and entries tab at:
Contest: My Most Hilarious Coding Failure
Good luck! And don't forget to tag your SAP Community friends using @.
2024 Jun 18 12:25 PM
Hi,
in ancient times I wanted to aggregate text files. Had them all in one folder. Scanned the folder to address all files one by one. Looped over them and wrote a destination file in the very same folder(!) while reading.
What happened? Of course! As last file my loop took the very file I was writing to. So my process was in an endless loop. You could witness this by seeing an ever growing destination file in the file manager.
So You either should use local paths and never write to the same folder You are reading from or at least have an exception list excluding Your destination file from processing.
happy facepalm,
Manfred
2024 Jun 18 12:28 PM
Thanks for sharing @manfredKlein - share here in the contest entries and you might even win a prize!
2024 Jun 18 5:35 PM
Since we're only allowed one, I've added another incident as a reply to mine.
I'm a fine law-abiding citizen now. Honest!