@saagar@federated.saagarjha.com
Post #2598499
2023-03-19 09:13 UTC
@slomo@toot.cat As for why you may want to keep argument evaluation order unspecified: it can in theory allow the compile to optimize better. That said, I don’t really think this is a great reason to make it unspecified…but I don’t think it’s the case that it should be specified either.
Replies (1)
-
@saagar@federated.saagarjha.com 2023-03-19 09:15
@slomo@toot.cat Somewhat counterintuitively, keeping the order unspecified can lead to easier-to-reason about code in some cases, because any attempts to depend on a specific order must be a bug. For a lot of calls LTR is “obvious” but this isn’t always true.