Hacker News new | ask | show | jobs
by mbauman 1935 days ago
Sure, there is a subset of behaviors for which this style makes sense, but it's just as well supported by simply defining your own functions alongside the struct.