Re:Replacing Throwing Exceptions with Notification in Valida...
by nitrogen on Saturday December 13, 2014 @04:21PM
(#8746475)
In Ruby, I prefer exceptions for most errors because they make the error handling more visible and explicitly defined, but if performance is an issue, returning a value (or setting an error on an ActiveRecord model) is much faster than raising an exception.
[ Parent
| on HN ]
There are no comments on this comment yet.