Joke Collection Website - Mood Talk - while(!(succeed=try())) How to understand this sentence? It is said to be an inspirational sentence for programmers.

while(!(succeed=try())) How to understand this sentence? It is said to be an inspirational sentence for programmers.

The condition for while looping continuously is (!(succeed=try()))=true,

If you want to exit the loop (!(succeed=try())), it must be FALSE ,

Because the addition of! means it is not equal to, true!=false, so (succeed=try()) must be equal to true,

That is to say, the result of try() must be true, and then assign true to success, then these conditions can be established.

The first thing to be executed for so many conditions is try(). The implication is that you must work hard first before you can get the result, but hard work You must really work hard to achieve success. If your efforts are just words and not put into action, everything will be false, the result will still be false, and there will still be an infinite loop.