¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: [TDD] Unit tests and parameter validation


 

Eb wrote:
Curious how if this changes if one develops inside out.
Your probability increases that you develop the wrong thing. :)

On the original point, if your guards are mostly about null, then you
can annotate your stuff with @Nonnull (or similar if your language
supports it). This then makes the contract more like a strong type
system and violations can be likely caught by static analysis tools.

Michal

Join [email protected] to automatically receive all group messages.