Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
Rust Doesn't Have Named Arguments. So What? | Better HN
Rust Doesn't Have Named Arguments. So What?
(opens in new tab)
(thoughtbot.com)
2 points
romac
1mo ago
2 comments
Share
2 comments
default
newest
oldest
stop50
1mo ago
Years ago i read about an rust library that allowed an developer to define an builder where the final buikd method was only accessible when all required methods where called.
romac
OP
1mo ago
Yes there are many such crates, which can indeed kinda fill the gap. One of the more recent one is
https://docs.rs/bon
j
/
k
navigate · click thread line to collapse