I was asked to implement the Singleton pattern using lazy-loading, which was easy enough, but them the question continued with other implementations of the pattern specifically around multi-threading.
Anonymous
Realized now I should have used the init-on-demand holder idiom or implemented as an Enum
Check out your Company Bowl for anonymous work chats.