"It's the principle of the matter. The State should not be allowed to compel speech (what code you write)"
What a stretch man. Is banning nuclear weapons a restriction of free speech because it compels speech (the blueprints and specs engineers write).
It's more like mandating every nuclear weapon must have a prominent safety switch.