1
you are viewing a single comment's thread
view the rest of the comments
[-] shnizmuffin@lemmy.inbutts.lol 0 points 2 years 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.

[-] relevants@feddit.de -1 points 2 years ago

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

this post was submitted on 13 Nov 2023
1 points (100.0% liked)

JavaScript

2786 readers
1 users here now

founded 3 years ago
MODERATORS