Re:Software component names should be whimsical and cryptic
by 0x457 on Tuesday September 13, 2022 @07:41PM
(#32831526)
So? Have you heard of API Gateway and/or HTTP routing based on path prefix or header?
[ Parent
| on HN ]
Re:Software component names should be whimsical and cryptic
by makeitdouble on Tuesday September 13, 2022 @09:12PM
(#32832136)
You're right about the external interface, but you still need to give a name to the actual service behind the URL.
From your point on versioning, I'd assume you'd actually call it UserProfileV2 ?
PS: to get back to the original point, you're still stuck with a "UserProfileV2" service that does a lot more than just user profiles, but that's not reflected in the name.
Re:Software component names should be whimsical and cryptic
by 0x457 on Wednesday September 14, 2022 @02:46PM
(#32841493)
It depends on the language, but I would probably call it `UserProfile` and change a major version even if it's in an entirely different language. Maybe even kept in the same repo.
> PS: to get back to the original point, you're still stuck with a "UserProfileV2" service that does a lot more than just user profiles, but that's not reflected in the name.
From what it said in the original comment, it still seems like a user profile to me.