Y
Hacker News
new
|
ask
|
show
|
jobs
by
int_19h
425 days ago
The real problem is that constructors and factory functions are distinct in the first place. They aren't, in Rust, and it's much easier to reason about and requires far less verbiage to write.