Would it be possible to get the code back from the Arduino itself?
I guess that now the code is gone, i can have a second attempt at it, but this time make it better than the first time.
while everything you said about backups is right, it wouldn't have helped here. Beacuse of the application bug the code never even made it onto the harddisk to be backed up.
I don't usually bother with backups, anything that I deem important usually ends up in 2~3 different places (my server, USB sticks, website, a mates computer, etc. etc.).