<div dir="ltr">Hey all,<div><br></div><div>What is the general consensus on parameter validation in Juju? As a general practice, I always like to see code that validates parameters passed into methods so that it fails fast, and gives future developers a contract to work off of.</div>
<div><br></div><div>Just yesterday I experienced a nil-reference panic which occurred after a lot of heavy operations. Parameter validation would have kicked me out much higher in the stack and given me some indication of what was wrong.</div>
<div><br></div><div>Always interested in discussion :)</div><div><br></div><div>-</div><div>Katherine</div></div>