[fpc-pascal] Generic routines for both dynamic array and other collections
Graeme Geldenhuys
mailinglists at geldenhuys.co.uk
Mon Feb 22 22:13:13 CET 2021
On 22/02/2021 1:10 pm, Sven Barth via fpc-pascal wrote:
> If users
> want expect arrays to be object oriented they should use corresponding
> languages like Java or C#.
Fully agree. Even Java doesn't "objectify" arrays as some type of
object. Hence Java includes the Arrays class that has a static method
Arrays.asList() which returns a List<T> container. So yes you can
quickly get a container, but arrays are still just arrays. ;-)
Regards,
Graeme
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/
My public PGP key: http://tinyurl.com/graeme-pgp
More information about the fpc-pascal
mailing list