The Pseudocode Paradox

Example 1: The Infinite Loop of Functionality

Here's a function that will loop forever, but not really.

<code>

while (true) {
    // do nothing
    console.log("Doing nothing...");
    // do more nothing
}
    

</code>

Will it ever stop?

Maybe not.

Maybe it will.

© 2023 Paradoxical Pseudocode