Sorry, the use of #rm -rf like that is unacceptable.  The developer knows what directories s/he created.  No need to do an rm -rf and kill everything on the directory tree from there down.  That is overkill and dangerous.