Re: Ways to change the behavior of a block
- From: Gary Wright <gwtmp01@xxxxxxx>
- Date: Tue, 1 May 2007 01:02:37 +0900
On Apr 30, 2007, at 11:42 AM, Brian Guthrie wrote:
It's the sort of library that shouldn't necessarily be used in
production code anyway, though, due to the performance hit you take
from having to run each and every single method call through a filter.
Makes sense. Reminds me of Eiffel's ability to monitor pre/post
conditions during development but to turn off those checks in
production.
One of the things that I thought was really nice about Eiffel's
pre-condition checks was that any pre-condition exceptions were
raised in the caller's context, which is conceptually where the
error exists. I think that would be difficult to do in Ruby without
support in the runtime.
Gary Wright
.
- Follow-Ups:
- Re: Ways to change the behavior of a block
- From: Brian Guthrie
- Re: Ways to change the behavior of a block
- References:
- Ways to change the behavior of a block
- From: Brian Guthrie
- Re: Ways to change the behavior of a block
- From: Robert Klemme
- Re: Ways to change the behavior of a block
- From: Brian Guthrie
- Re: Ways to change the behavior of a block
- From: Gary Wright
- Re: Ways to change the behavior of a block
- From: Brian Guthrie
- Ways to change the behavior of a block
- Prev by Date: Re: sorting by rand?
- Next by Date: Re: Ways to change the behavior of a block
- Previous by thread: Re: Ways to change the behavior of a block
- Next by thread: Re: Ways to change the behavior of a block
- Index(es):