3 ms·
"However, it’s important to be aware of the potential drawbacks of using this type of wrapper, so consider adding a warning message to it." Or just don't do it
by davedx 3y ago
"However, it’s important to be aware of the potential drawbacks of using this type of wrapper, so consider adding a warning message to it."
Or just don't do it, it's not type safe.
- asherah 3y agoi think it's reasonable for cases where you know the type, e.g. an internal object which a user of a library can't access