Motley says: "Too many assertions make debugging very annoying!"

Summary   Motley:  Too many assertions make debugging very annoying!   Maven: Lots of assertions are great, as long as they validate the right assumptions. If an assertion fires it is likely manifested by a bug, so get to the root cause and fix it. Best practices for assertions include using them early and often,…

2

Motley says: "Rely on the debugger to write solid code"

  Summary   Motley: I rely on the debugger when I am writing code. Without it, I’d have a really hard time tracking down all the bugs in my code.   Maven: Write code as if the debugger does not even exist. Include unit tests, assertions, tracing, logging, static analysis, and internal consistency checks in…

1