[TUHS] Discuss of style and design of computer programs from a
lm at mcvoy.com
Sun May 7 01:24:11 AEST 2017
On Sat, May 06, 2017 at 03:20:53PM +0000, Michael Kj??rling wrote:
> I would absolutely not say that doing something like that is standard
> practice in modern programming. Even in microcontrollers, where
> program and data memory can be scarce even today, I would argue that
> the costs would not outweigh the benefits by a long shot.
It strikes as being similar to Duff's device (1). Which is a niche thing
but I still use that from time to time. Not to save memory, just because
as a C programmer it seems pretty natural to do it.
More information about the TUHS