logoalt Hacker News

mkarrmanntoday at 4:08 PM2 repliesview on HN

Builder pattern isn't only used in Rust, but I agree it's hideous to use in Python.


Replies

giancarlostorotoday at 4:31 PM

Doesn'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.

tcdenttoday at 4:11 PM

Fair point. I should have said "popularized in the modern software vernacular by Rust".

show 1 reply