Talk:Javagony

From Esolang
Jump to navigation Jump to search

Infinite Recursion

Isn't removing while kind of redundant when you can just use recursion, and catch the stack overflow exception lol. Example:

public void bruh() {
    try {
        bruh(;
    } catch (StackOverflowException) {
        bruh();
    }
}

I mean, I guess removing while removes the possibility of it being used as a work-around for if (), I guess. --SpaceByte (talk) 19:22, 19 January 2023 (UTC)

You can re-make everything that is removed with try/catch and the right exception, that is the whole point of this. Myname (talk) 19:29, 19 January 2023 (UTC)