This page did not load. You can still read it on the original site — the toolbar below keeps your place in the directory.
In this post we will cover a pattern that appeared multiple times in our codebase: wrapping trait implementations in an enum. Although this is not the reason that I use this approach, for those who interested it avoids the performance cost of dynamic dispatch.
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.