Stef,

FWIW, I consider it to be negotiable, provided we can use ReadStream as
a factory/facade for Nile classes.  With some double-dispatch, I think
we could end up with something similar to directories: code references
the generic class and the system instantiates platform-specific
subclasses.  In Nile, ReadStream on:aStream would answer a Nile read
stream for the relevant collection species.

That said, #readStream is a preferable idiom to #on:.  My leaning would
be to keep the latter and strongly encourage use of the former.

Bill



Wilhelm K. Schwab, Ph.D.
University of Florida
Department of Anesthesiology
PO Box 100254
Gainesville, FL 32610-0254

Email: [EMAIL PROTECTED]
Tel: (352) 846-1285
FAX: (352) 392-7029


>>> [EMAIL PROTECTED] 6/4/2008 1:36 PM >>>
Hi damien

I was wondering why you think that ReadStream on: anObject is worse  
than anObject readStream?
Because you do not hardcode ReadStream?

Stef

_______________________________________________
Pharo-project mailing list
[email protected] 
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to