Peter Williams
Posts: 165
Nickname: pezra
Registered: Apr, 2005
|
Just is a random programmer.
|
|
|
|
When To Use Exceptions
|
Posted: Nov 21, 2007 12:18 PM
|
|
|
This post originated from an RSS feed registered with Ruby Buzz
by Peter Williams.
|
Original Post: When To Use Exceptions
Feed Title: Peter Williams' Weblog
Feed URL: http://barelyenough.org/blog/tag/ruby/feed/
Feed Description: Random thoughs about software development, and anything else I find interesting.
|
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Peter Williams
Latest Posts From Peter Williams' Weblog
|
|
Marty Alchin recently posted about the “evils” of returning None (or nil or null depending on your language of choice). I think
he has it basically right. Sure
there are situations where returning nil1 is
appropriate, but they are pretty rare. For example, if a method
actually does what the client asked and there is [...]
Read: When To Use Exceptions
|
|