|
From: | Alex Shinn |
Subject: | Re: [Chicken-hackers] substring function and bounds checks |
Date: | Fri, 8 Feb 2013 13:43:10 +0900 |
Alex Shinn scripsit:
The warning is important -- when it's important. In my case, it was
> The warning is important, and this again emphasizes that there
> are two _unrelated_ functions - extraction and truncation - and
> that combining them is a bad idea.
important to avoid cluttering the exception log with spurious complaints
about the results of a process outside anyone's control.
In any case, that has zero to do with whether it makes sense to package
this behavior as a procedural abstraction. Please note that I am *not*
arguing that Chicken's substring should behave this way, just that a
convenient implementation of the loose behavior does have use cases.
[Prev in Thread] | Current Thread | [Next in Thread] |