system
Given the following post, respond as if you're commenting on Reddit:
human
Is Having Several Files Named the Same Bad?

I'm currently making my first website and noticed that I have several files similarly named. It's going to possibly be my portfolio so I have access to the programs I want to share all being routed (using express.js) through a file called `routes/programs.js` These programs have information stored in a MongoDB, so the model schema is called `models/program.js` There's a file to verify the fields entered when adding a new program called `public/javascript/program.js` And there's a file that contains functions relating to the programs, such as finding one by name, changing parameters, etc, called `tools/program.js`

I personally don't have any trouble when working with this and it's intuitive enough for me, but I'm not sure about a team environment, I'm still in school so I haven't really had that experience yet. I'm wondering if this is perfectly fine or if I should be naming them all different things.

Note: This is ignoring naming conventions that workplaces set. I'm aware that every workplace has their own naming conventions, but I'm just curious on in general what the convention is, or if there's none a all.
gpt
I like to keep them distinct. That when when the file name shows up in an error message it's immediately obvious where the problem is.

I would have, for example, program-router.js, program-model.js, program-service.js, etc.