What are the pros and cons of utilizing Named IIFEs within JS code to describe and group related code?
I\'ve been using this "pattern" to lend structure to
I always thought labels were cool:
hideStuffOnInstantiaton: { $('oneThing').hide().removeClass(); $('#somethign_else').slideUp(); $('.foo').fadeOut(); }
In reality, it's usually silly to do this. Instead, grouped functionality generally belongs in its own function.