Open callumlocke opened 10 years ago
I believe this to be a coding style question. We use both approaches on a case by case basis within the web app. It makes no difference to what actually gets executed as the lazy approach will instantiatd fruitmachine module on your behalf: https://github.com/ftlabs/fruitmachine/blob/master/lib/fruitmachine.js#L46.
Maybe we could consider making the documentation more neutral @wilsonpage :-)?
From the docs for [Instantiation]:
Why? What is the downside of lazy instantiation?