Code and case summaries couldn't be much different. With code you get compile time validation, run time validation, (hopefully) test validation, and you can generally look at a block of code and say "seems like this should work" or "this makes no sense". You get none of that with facts of a case.