7
Argos
6y

I think that the idea of IIFE in JavaScript is a good example of how shitcoding can be built into the core of the language.
How can I make my code clean if the language itself forces me to make such an ugly constructions?
What do you guys think about it?

Comments
  • 1
    I think you should avoid using them if you do not need them. You are not forced to use them
  • 0
    Its over now friend...the language is improving itself
  • 0
    Although if you want a good usecase for them, it's to avoid declaring variables in the global namespace
Add Comment