Re:Thoughts on being a programmer
by mgurlitz on Wednesday August 15, 2012 @09:17AM
(#4385796)
Wouldn't the Pythonic thing be to only fail after you've tried, instead of validating your parameters in advance?
[ Parent
| on HN ]
Re:Thoughts on being a programmer
by agentultra on Wednesday August 15, 2012 @10:00AM
(#4385952)
Yes. It's easier to beg for forgiveness than to look before you leap. You just use your parameters regardless of types and let the exceptions fly.