On 2013-02-28 09:21, deadalnix wrote:

Must is not appropriate here, as it isn't an obligation at all. I don't
really see what is the concern here.

If the function is simple, then it will be inlined and unused returned
values can be optimized away. If the function is complex, the cost of
returning something when not needed will be negligible anyway.

What is your concern here ?

My concern here is setters that doesn't return a value. They won't work with chained assignments. Another thing that will break when changing a filed to a property.

--
/Jacob Carlborg

Reply via email to