News for hackers. Stuff that matters.
Re:Show HN: Frodo – Rails like app generator for Node.js/Exp... by benatkin on Sunday November 29, 2015 @11:55AM (#10645130)
Why does it have an IFFE on the controllers? This isn't a browser environment where we have to worry about files cluttering a global namespace. Each file is its own module where it has its own namespace. (Also this isn't needed for client-side development anymore unless you aren't using a build tool.)
Re:Show HN: Frodo – Rails like app generator for Node.js/Exp... by leemalmac on Sunday November 29, 2015 @12:49PM (#10645356)
I'm not a JS expert. Can you suggest the better way? I know that controllers are sandboxed, but I still like to add some 'namespacing'