Hacker News new | ask | show | jobs
by Bahamut 4261 days ago
The recommendations in the module section are pretty awful - I'd avoid doing so, and every other expert in the community I've spoken to also disagree with that suggestion of using global functions wrapped in an IIFE to prevent it from being published on window, which seems to exclusively come out of Google.
3 comments

What does IIFE stand for? From your I'm guessing it's an immediately evaluating function - but I can't figure the initialism out
What should be used instead?
What's so bad about it?