It&#x27;s wonderful that the article mentions the Duff&#x27;s device.  I still remember the mind-boggling effect when I first met it.  It taught me many things.  Once you understand it you will never make mistakes with switch&#x2F;case in C anymore.