Closed maxgabut closed 4 years ago
You're technically correct, but that bullet point is "hoisted" to the top of that section as sort of preview/table-of-contents... it's not content itself. It's saying, "hey, look out for the following topics to be covered over the next few sections". IOW, it's good that you ask "what is an IIF?" when reading that, because that's the point of the table of contents.
I had contemplated expanding that acronym there, but it seems unnecessary since I haven't explained what "inter-invoked function" means yet at that point either, so it's just extra noise.
Oh... also... there's a very subtle pun intended there, which is signaled by the italics. The sentence is saying "if functions are..." as in a postulated conditional. The pun is that "IIF" is pronounced the same as "if".
Well yes, expanding the acronym would not help much without a longer explanation (that comes later).
I was a bit confused by it because I confused it with an IIFE (I thought : what's that "IIF" already ? Oh right, the Immediately Invoked Function thingy). But, I guess that's on me :sweat_smile:
In Appendix A of the second edition of "Scope & Closures", IIF is used to refer to inter-invoked functions.
Unless I missed something, it is first used before it is defined. It might make sense to define it earlier.
The first use is in Are shynchonous callbacks stille closures:
Definition is in Synchronous callback: