Coffee Corner Discussions
Get to know other SAP Community members during your coffee break. Join discussions on a variety of topics in a casual environment.
cancel
Showing results for 
Search instead for 
Did you mean: 

A coding contest over coffee?!

KatherineKenneally
Community Advocate
Community Advocate
1,448

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 @.


----- Check out the SAP Champions program and meet our community leaders today! -----

3 REPLIES 3

manfredKlein
Participant
1,393

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

1,388

Thanks for sharing @manfredKlein - share here in the contest entries and you might even win a prize!


----- Check out the SAP Champions program and meet our community leaders today! -----

matt
Active Contributor
0 Kudos
1,356

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!