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.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to