2 comments

[ 7.0 ms ] story [ 17.4 ms ] thread
The list of proposed solutions is missing the single-element enum type approach: http://stackoverflow.com/a/71399
(author here) Two points, (a) I was describing general lazy initialization, not just Singletons and (b)I believe the Enum approach is not lazy.