News for hackers. Stuff that matters.
Re:Perils of Constructors by kibwen on Saturday July 27, 2019 @12:45PM (#20542808)
Many Rust libraries actually employ the builder pattern extensively (sometimes as a reaction to the lack of default/keyword arguments); it's so widely-accepted that the necessity of error-handling while constructing items via method-chaining (as featured by the builder pattern) was a key argument for the postfix `?` error-propagation operator.

There are no comments on this comment yet.