Computer programmers work in an area where everything can be determined cleanly and clearly, if only in principle. So using computers to sort out all those annoying grey areas in human interaction is tempting: if you don’t understand law (which involves intent) but you do understand code (which does precisely what you tell it – though maybe not precisely what you meant), then you may try to work around law using code.