lads, is the Builder pattern in Rust an example of a fluent api
-
Show this thread
-
(this is a serious, if probably stupid, question)
3 replies 0 retweets 1 likeShow this thread
Replying to @zkat__ @maybekatz
Not stupid at all! Opinions may vary, but personally I really like builders (see: Surf). Often there's a separation between a "main" struct and "builder". Having a "builder" method on the main struct is quite nice, in conjunction with a "new/open/connect" method for defaults.
12:23 PM - 25 Oct 2019
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.