[fpc-pascal] Changing iterator usage pattern in FCL-STL
md at delfire.net
Mon Nov 9 14:48:32 CET 2015
On Mon, Nov 9, 2015 at 7:47 AM, Graeme Geldenhuys
<mailinglists at 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".
The right way is using interfaces, if we talking about OOP.
More information about the fpc-pascal