Tag: Guard

On the Use and Acceptance of nil

Yesterday I made the following tweet: Never pass nil to a method, and don’t let your methods accept nil as a parameter value. — Nick Hodges (@NickHodges) January 19, 2015 and it started and interesting little discussion on Twitter.  (I was actually honored that the great Mark Seemann himself entered into the fray…) Naturally, the…

Read the full article