The king wisely had the software developer beheaded,
  and they all lived happily ever after.
:)