Skip to main content
added 19 characters in body
Source Link
gnasher729
  • 49.4k
  • 4
  • 71
  • 137

Just call it “setupMyValue”. The caller assumes that myValue has no meaningful contents before the call, but has one after the call. Suitable in situations where the call is synchronous with no possible error. Otherwise the caller doesnt care about how the called function achieves its goal.

Just call it “setupMyValue”. The caller assumes that myValue has no meaningful contents before the call, but has one after the call. Suitable in situations where the call is synchronous with no possible error. Otherwise the caller doesnt care about how the called function

Just call it “setupMyValue”. The caller assumes that myValue has no meaningful contents before the call, but has one after the call. Suitable in situations where the call is synchronous with no possible error. Otherwise the caller doesnt care about how the called function achieves its goal.

Source Link
gnasher729
  • 49.4k
  • 4
  • 71
  • 137

Just call it “setupMyValue”. The caller assumes that myValue has no meaningful contents before the call, but has one after the call. Suitable in situations where the call is synchronous with no possible error. Otherwise the caller doesnt care about how the called function