Do classes require explicit constructors?

Mindy (0xEAB) desisma at heidel.beer
Sun Feb 22 09:10:10 UTC 2026


On Saturday, 14 February 2026 at 15:57:09 UTC, Mike Parker wrote:
> How many exception constructors do you write? Minor annoyance, 
> maybe, but massive pain? Really?

While it may be a copy&paste task, I’ve ran into mistakes with 
accidentally pasting unsuitable constructors with additional 
parameters, making typos while fixing things up, missing 
`super()` calls etc. Seems quite a bit of a hassle for something 
that could be a trivial task.


More information about the Digitalmars-d-learn mailing list