6 ms·
Builder pattern isn't only used in Rust, but I agree it's hideous to use in Python.
by mkarrmann 3mo ago
Builder pattern isn't only used in Rust, but I agree it's hideous to use in Python.
- tcdent 3mo agoFair point. I should have said "popularized in the modern software vernacular by Rust".
- giancarlostoro 3mo agoI think of Java immediately when I hear Builder Pattern, and I think anyone who has ever touched Java does as well.
- giancarlostoro 3mo agoDoesn't look any different than doing the same in C# or Java to me, it is kind of pointless in Python, the one thing the pattern gives you is building a class in such a way that you the developer know exactly what's what, so its really a developer ergonomics thing is how it looks like to me.