When I have finished with the recruitment of a function, is it better to archive or delete the function?

It is always better to archive and not to delete. An archived function can always be copied and republished. Once the function is deleted, it is deleted for ever.