4 ms·
Just think of the "case" statements like any other label, despite the misleading indentation. Then it becomes perfectly natural to jump in the middle of a loop.
by PhilipRoman 2y ago
Just think of the "case" statements like any other label, despite the misleading indentation. Then it becomes perfectly natural to jump in the middle of a loop.
- rramadass 2y agoRight; This is how i worked out "Duff's Device". Wikipedia has a very helpful "Simplified Explanation" - https://en.wikipedia.org/wiki/Duff%27s_device#Simplified_explanation https://en.wikipedia.org/wiki/Duff%27s_device#Simplified_exp...
- rramadass 2y agoHere is an example : https://news.ycombinator.com/item?id=41670144 https://news.ycombinator.com/item?id=41670144