I still do isomorphic code everywhere. Except I have a build step (a tool!) that adds the IIFE boilerplate for me. I'm not going to put it in my code. The browserify boilerplate is very minimal.
On Tue, Mar 19, 2013 at 6:47 PM, AJ ONeal <[email protected]> wrote: > On Tue, Mar 19, 2013 at 6:48 PM, Jake Verbaten <[email protected]> wrote: > >> Is there any good reason to ever use IIFE given that commonJS wraps my >> file in a closure. >> >> Can't every use-case for IIFE be replaced with write more smaller >> modules. At least I havn't used them in months. >> > > Living the pipedream: isomorphic code. > > Although, I've considering dropping them myself. Since I'm mosting using > Node and Grunt + Pakmanager, I really only need them for jshint's sake. > > -- > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
