Using the new Arduino IDE for ESP8266 and found bugs, report them here

Moderator: igrr

User avatar
By torntrousers
#14706
MeNoGeek wrote:Since I'm not an expert in C, nor in any other programming language, I'm kind of puzzled by this statement:
torntrousers wrote:
Code: Select allwhile (!!!client.connect(clientid))
I mean, why the triple bang? Wouldn't one be enough?


One would be enough. Having three is supposed to make the code more readible as one is easy to miss when skim reading, and optimizing compilers should optimize it down to a single not operation. Just did it by habit, I've no idea if the compiler used here does actually optimize them away though.