zlacker

[parent] [thread] 0 comments
1. lilyba+(OP)[view] [source] 2025-12-05 21:43:11
In Pattern: Defensively Handle Constructors, it recommends using a nested inner module with a private Seal type. But the Seal type is unnecessary. The nested inner module is all you need, a private field `_private: ()` is only settable from within that inner module, so you don't need the extra private type.
[go to top]