Purpose Of Taqteel If Not Public
Hudood punishments are Divine punishments imposed on Muslims for breaking of their oath with Allah ( this is their only primary purpose ). Being a deterrent for others is a secondary thing for which no bar has been placed to publicly carry them out or do so privately or in a small gathering. This is something to be decided by state keeping in mind the societal pros and cons of carrying them out in public. Please see this as well: Discussion 985 • Reply 986