Its very irritating thing to happen, faced that sometimes. Lost 2 weeks of dev work once. :(
But the reality remains unless there is a backup taken by the system team, you can't recover things in unix. There is no concept of recycle bin or temporary storage before final removal in Unix or Linux.
But you can prevent this in future by making an alias for rm -rf to point to a script that would check if the files are src code , other. Move them to a temp directory where you can review it later and subsequently remove them.
That's what I had done in my previous project.