I think he just doesn't like the block statements which can be presesnt within IIFEs
1. They require semicolons, because they are wrapped with brackets 2. If you have an entry point, it should be separated from the rest of the code, so you always have exports and in one place you import that code and execute - no need for IIFE and better self-documented code 3. They are unnamed effects
1. They do not 2. yes, probably 3. No they aren't
Обсуждают сегодня