That's actually similar to how options work in Rust.
You construct a struct.
If it's big, you often use a builder to not have to construct it all at once.
However, it all works out great in the end, and everyone is ecstatic :/
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.