[fpc-pascal] Generic routines for both dynamic array and other collections

Ryan Joseph genericptr at gmail.com
Mon Feb 22 03:33:08 CET 2021



> On Feb 21, 2021, at 2:59 PM, Sven Barth <pascaldragon at googlemail.com> wrote:
> 
> You are supposed to use Length(X). There is no need for a "property". One doesn't need to objectify each and everything!

Yes but programmers tend to be neurotic and obsessive. :) I think many of us would appreciate a matching "Count" method that is consistent with TList<T>. 

Regards,
	Ryan Joseph



More information about the fpc-pascal mailing list