[fpc-pascal] Syntax changes suggestions

Ryan Joseph ryan at thealchemistguild.com
Wed Jul 18 18:31:53 CEST 2018



> On Jul 18, 2018, at 7:14 AM, Ben Grasset <operator97 at gmail.com> wrote:
> 
> Classes are unsuitable performance-wise for many use cases, and TP objects lack important features such as variant parts. Advanced records are a great lightweight in-between point.

Yes indeed. Not being able to allocate classes on the stack is a scandal for Pascal. I don’t know why the devs decided classes must be on the heap and anything other than that would violate some supposed design principle (Delphi??). 


Regards,
	Ryan Joseph




More information about the fpc-pascal mailing list