3 ms·
I once had an epic discussion with Brian Goetz regarding the use of Enums as an implementation of the Singleton pattern. Lesson learned, and the Twitter thread
by brunoborges 2y ago
I once had an epic discussion with Brian Goetz regarding the use of Enums as an implementation of the Singleton pattern.
Lesson learned, and the Twitter thread is now history: https://twitter.com/brunoborges/status/1068297236071747585 https://twitter.com/brunoborges/status/1068297236071747585
Goetz's reply: https://twitter.com/BrianGoetz/status/1068196389858017282 https://twitter.com/BrianGoetz/status/1068196389858017282