loading...

re: 4 tips to level up your Swift VIEW POST

FULL DISCUSSION
 

So, does that mean, if the code has a statement like this somewhere:
log(fetchString())

then this statement will kind of "not get executed" at all, when not in debug mode?

 

Yes, only the call to the log method will but the body wont and since message is a closure then the fetchString() would be executed only in the method body and not in the method call

code of conduct - report abuse