Quote from: Snarky on Thu 05/12/2024 07:06:17... I'm not convinced it's much of an improvement. It might be less work for the computer, but it was harder to write, and I think harder to follow. And the only lines saved are the {}s.
TBH I'm very much surprised by such view, I have a completely opposite opinion on this.
For me it's not even the question of performance, but a question of clearly declaring a purpose. IMO the second variant has a more clear intent than the second.
For the same reason, it would be easier to write for me personally, I would just do that automatically by reflex.
But I would suggest to make a function that does "Transfer energy" from object 1 to object 2.
