Problem
In the recent project, we’ve mentioned about one question:
why do we do our imports as relative paths rather than absolute paths? It’s not easy to figure out what’s the correct path.
We then start discussing what the pros and cons are for using an absolute path or relative path. To my best knowledge, I always voted for the relative path, cause that won’t cause a problem when we try to deploy the service into different file paths. But the con is that we need first to figure out what’s the correct import path. But using an absolute import path is the contrary.