> Like e.g. in Java it was common to have a comment on a simple (!) setter, telling you "this sets X"
Given the prevelance of mutating functions in Java this is welcome
Given the prevelance of mutating functions in Java this is welcome
Just document if something is mutating and what it mutates.
Or simply name your functions accordingly.
Like of your setter is doing a HTTP call, maybe name it so that it's obvious.