DEV Community

Discussion on: Why all our objects be a little more private

Collapse
 
jeastham1993 profile image
James Eastham

Great question! And in some instances that's what I would do.

However, it's not very explicit. Setting a property and then a load of stuff happening behind the scenes isn't good for other devs reading the code.

Looking back at my sample code, the method should probably be called MoveFiles instead of UpdateIdentifiwr