And they even made the C++ version more verbose than it should have been. Most people would write:
class Person { int age = 0; };
I wish rust would make default struct field values this easy to write.
It’s coming soonish! There’s an accepted RFC that’s getting close to being ready to stabilize https://github.com/rust-lang/rust/issues/132162