[fpc-pascal] Better usage of "with"
Ryan Joseph
ryan at thealchemistguild.com
Thu Jun 14 13:43:40 CEST 2018
> On Jun 14, 2018, at 5:18 PM, Mattias Gaertner <nc-gaertnma at netcologne.de> wrote:
>
> If you only want that, why not use objects?
The real reason Jon Blow proposed this syntax is because it allows you keep continuous arrays of memory which you can index into using struts. The fact it mimics multiple inheritance (something Pascal doesn’t have anyways) is just a bonus.
His premise for the proposal is that programming languages should help the programmer to make code which is better read by the CPU instead of high-level constructs for abstract concepts. It’s very specific to a particular task but very important for low-languages like c++ and Pascal which are close to the CPU.
Regards,
Ryan Joseph
More information about the fpc-pascal
mailing list