[fpc-pascal] Program efficiency

Michael Van Canneyt michael at freepascal.org
Wed Nov 9 18:02:15 CET 2022



On Wed, 9 Nov 2022, geneb via fpc-pascal wrote:

> On Wed, 9 Nov 2022, DougC via fpc-pascal wrote:
>
>> Maintaining understandable and readable code is often more important that 
>> runtime efficiency. Like others have said, there are likely many additional 
>> places you can address overall efficiency before dealing with these 
>> calculations.
>
> THIS.  Clarity over cleverness, every single time.

It's the job of the compiler to be clever, so we don't have to be ;-)

Michael.


More information about the fpc-pascal mailing list