|
|
|
|
|
by thowruasdf
716 days ago
|
|
The downside is now all types must dogmatically have a nullary constructor. The Default typeclass (or trait) as seen in Haskell and Rust, is a far better design, as this makes the feature opt-in for data types that truly support them. |
|