Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on I’m Adam, and i’m a recovering Singleton addict.. Parent comment
1. There should be one instance of the data and
2. The data needs to be lazily initialized.
Otherwise, you might as well drop the facade and use globals.
There are no comments on this comment yet.
1. There should be one instance of the data and
2. The data needs to be lazily initialized.
Otherwise, you might as well drop the facade and use globals.