On Thu, 2008-09-04 at 13:47 +1200, Amos Jeffries wrote:
> Kinkie, while I like the single-object API design. I think you could get
> around all these arguments and confusion by adding a sub-class of KBuf
> called KBufTokeniser, which just provides the nextToken API on top of the
> String API.
Please do not make Tokenizer a sub-class of Buffer or put it on top of
String. Tokenizer is not a String and is not a Buffer. It is an
Iterator. If String implementation is correct, the Tokenizer iterator
does not need to be a String to be efficient.
HTH,
Alex.
Received on Thu Sep 04 2008 - 05:04:19 MDT
This archive was generated by hypermail 2.2.0 : Thu Sep 04 2008 - 12:00:04 MDT