diff --git a/source/_daily_emails/2024-07-18.md b/source/_daily_emails/2024-07-18.md new file mode 100644 index 00000000..d9a3b54f --- /dev/null +++ b/source/_daily_emails/2024-07-18.md @@ -0,0 +1,24 @@ +--- +title: What's the smallest number of dependencies you can have? +date: 2024-07-18 +permalink: daily/2024/07/18/smallest-number-of-dependencies +tags: + - software-development + - drupal + - php +cta: ~ +snippet: | + What's the smallest number of dependencies you can have in a project? +--- + +Whether it's Drupal modules, PHP libraries, npm packages or Tailwind CSS plugins, what's the smallest number you can have in a project? + +I have a list of Drupal modules and other projects that I commonly use, but I try to keep it to as few as possible. + +The fewer dependencies there are, the less will need to be updated and maintained. + +There's no guarantee each dependency will continue to be supported by its maintainers in the future, and each dependency added is an opportunity to introduce potential bugs and security vulnerabilities. + +## Here's the thing + +I'm not suggesting you need to write everything by hand as this would be ignoring a major benefit of open-source software, but consider if you need each dependency or if you can achieve the project's goals without it.