4 ms·
Exceptions are the only way. You can workaround this by using static factory methods. The herbceptions proposal for “deterministic” exceptions addressed this i
by CyberRabbi 5y ago
Exceptions are the only way. You can workaround this by using static factory methods.
The herbceptions proposal for “deterministic” exceptions addressed this issue well IMO.
- pjmlp 5y agoI doubt that proposal ever gets adopted.
- CyberRabbi 5y agoI also doubt it