[–] bgrainger 14y ago ↗ The list of proposed solutions is missing the single-element enum type approach: http://stackoverflow.com/a/71399 [–] antrix 14y ago ↗ (author here) Two points, (a) I was describing general lazy initialization, not just Singletons and (b)I believe the Enum approach is not lazy.
[–] antrix 14y ago ↗ (author here) Two points, (a) I was describing general lazy initialization, not just Singletons and (b)I believe the Enum approach is not lazy.
2 comments
[ 2.8 ms ] story [ 11.9 ms ] thread