r/node • • 5d ago

Seinfeld-esque Observation

[deleted] — view deleted post

0 Upvotes

28 comments sorted by

5

u/shamshuipopo 5d ago

That’s literally the point of the name? it serves you content

1

u/Delicious-Jello-8759 4d ago

More like it stores content. The API serves it.

Kind of like calling a store room a waiter.

1

u/shamshuipopo 4d ago

The api is just the definition of the contract/how to ask for what u want. The server serves it

2

u/Gold_Condition_1521 4d ago

The API is more like the menu or the ordering system. The server is still the kitchen doing the actual work. 😂

1

u/JustAnAverageGuy 4d ago

As a CTO that owns restaurants, this is the best analogy I've probably ever seen.

Also, your heap collection is that coked-out bus boy who can't figure out when to clear dishes. If he's not on top of it, you don't have any free tables.

My god. The parallels are everywhere.

0

u/Delicious-Jello-8759 4d ago

So the waiters taking orders don’t do any work?

That’s not what Anthony Bourdain said.

2

u/dronmore 5d ago

API lets you order a meal. Server makes only sense in a client-server architecture. If your API has no clients it's not a server. Go back to school.

1

u/Delicious-Jello-8759 4d ago

If a waiter has no clients he stops acting and goes back to school?

1

u/dronmore 4d ago

If he goes back to school, he stops being a waiter, and becomes a student, because being a student makes perfect sense in the context of school.

By analogy, server makes sense only in the context of a client-server architecture. A computer program running outside of the client-server context is not a server.

Are you a waiter?

1

u/Delicious-Jello-8759 4d ago

Yes I am a waiter. I just do t know if I should call myself a server or an API.

1

u/dronmore 4d ago

If you are a waiter, then call yourself a waiter. The name is clear and everyone will understand who you are. But if you want to break into IT, think about renaming seinfeldesque to bikeshedding. You will be immediately recognized as a person who pays attention to detail.

1

u/Delicious-Jello-8759 3d ago

I am a waiter, but how you tell me what to call myself. I identify as an API.

1

u/dronmore 3d ago

I don't play identity games. If you want to be called an API, ask your mother, or girlfriend to do so. Women are generally easier to sway, and more likely to be affected by your feelings. To me, you are just a random troll on the internet, so I'll just call you like that - a troll.

1

u/Delicious-Jello-8759 3d ago

Troll?

I made a joke, labeled it as such, and this whole Reddit got butthurt.

Your lack of humor is hilarious!

1

u/dronmore 3d ago

The responses you've got are not butthurt. Read them carefully. If you are able to pick up on subtleties, you will see how different people perceive your question differently. The diversity in responses you've got is fascinating. But you'd probably need to understand your question first to pick up on those subtleties.

And BTW, the label Seinfeld-esque has no meaning to me. I don't remember ever watching the Seinfeld sitcom. Google returns only 5840 results for the term wrapped in quotation marks "Seinfeld-esque". It's not a very popular term, so don't expect people to read it the same way you do.

1

u/Delicious-Jello-8759 2d ago

Sure. I’ll just stick to waiting tables.

→ More replies

1

u/JustAnAverageGuy 4d ago

Do they not teach the OSI models anymore?

1

u/BarelyAirborne 4d ago

"Fetch" is referring to your arm. You gotta tell it what to do. If you started calling your hand your server, that would be weird.

1

u/Delicious-Jello-8759 4d ago

Watcha talking about, Willis?

1

u/PishPoshPush 4d ago

if API fetches data, we wouldn't need internet 🤧🤧

1

u/Delicious-Jello-8759 4d ago

What’s the internet?

1

u/PishPoshPush 4d ago

photons moving in certain fashion