@noelrap I'm my code rarely, but I also try to document return values and handle them appropriately. Nils suck. Monads are probably a solution but I haven't gone there. I'm baffled by the ruby and rails docs that don't clearly define return values.

0
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin
Replies