[fpc-pascal] Feature announcement: Dynamic array extensions

Ryan Joseph ryan at thealchemistguild.com
Sat Jun 2 08:41:26 CEST 2018



> On Jun 2, 2018, at 1:35 PM, Nitorami <mneubauer at alice-dsl.net> wrote:
> 
> I strongly disagree with the opionon that "+" is natural to be the append
> operation.

Not even in the context of a list? I’m still not sure what exactly the operations you are doing but it sounds like you have a vector of numbers and you want to overload + so you can add to the value of all numbers. That makes perfect sense but it’s in conflict with the other (more common) use of arrays.

Why aren’t you using a class or record and making a custom data type btw?

Regards,
	Ryan Joseph




More information about the fpc-pascal mailing list