• shnizmuffin
    link
    fedilink
    English
    210 months ago

    In your example, without the comment, I’d have no way of knowing it was a customer ID I’m getting, unless the only objects with IDs are customers.

    • @[email protected]
      link
      fedilink
      010 months ago

      I mean, the example kinda implies that this is on a Customer type. Otherwise you’d have a method getCustomerId instead.