News for hackers. Stuff that matters.
Re:Dysfunctional Options Pattern in Go by mmaniac on Thursday July 25, 2024 @09:58AM (#41068770)
Optional types don't fix this. The problem here is not having default (or named) function arguments. With optionals, you still have to pass every arg explicitly.

Languages with both of these features like Python don't end up using the builder pattern or reinventing it like this author.

There are no comments on this comment yet.