Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is something I learned: When coding for this kind of legal tests just make your code read as close as possible to how the actual law reads.

It's easier to check that the code matches the law (after all there are no test vectors on the law apart from case law so you have to go by the drafting) and it makes updates when an amendment is made much simpler.

That, and there is usually zero need to optimise.



Or instead of optimizing it by hand, you have a machine do it automatically.


Indeed. Besides, it makes audits and compliance demos so much easier.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: