-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
28f1d8e
commit 4594341
Showing
1 changed file
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
absolute imports were strongly preferred, historically. relative import permits to | ||
reorganize packages without changing any code, but refactoring tools and IDE permits | ||
to do that at almost no cost if the import are explicits (absolute). | ||
Absolute imports were strongly preferred, historically. Relative imports allow you | ||
to reorganize packages without changing any code, but these days refactoring tools and IDEs | ||
allow you to do that at almost no cost anyway if the imports are explicit/absolute. | ||
Therefore, absolute imports are often still preferred over relative ones. |