... done something bad and I'm punished for that, but it's not against the law to write my own ...
... I'm held liable for having written bad code. Or, if I program my software to find radio ...