Hacker News new | ask | show | jobs
by ivan_gammel 2047 days ago
I like your way of politely explaining „thanks, but no, thanks“ and totally agree with it. Properties are usually useful in cases where small immutable record would also be fine. With general purpose property interface of a complex business model it is too easy to make mistakes even for an experienced engineer. Validation or computations in constructor or business method would be more natural and flexible.