On Mon, Nov 9, 2015 at 7:47 AM, Graeme Geldenhuys
<mailingli...@geldenhuys.co.uk> wrote:
> Not to be a stickler, but that is not an ideal interface either (in my
> eyes). Not everything is a "file", so EOF (End-of-File) was really not a
> good choice. eg: Iterating characters in a String, Objects in a
> ObjectList etc... none relate to a "file".

+1

The right way is using interfaces, if we talking about OOP.


Marcos Douglas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to