oliverdavies.uk/content/node.d3d14705-ef6a-4827-afad-bb2963dac369.yml

68 lines
2.7 KiB
YAML

uuid:
- value: d3d14705-ef6a-4827-afad-bb2963dac369
langcode:
- value: en
type:
- target_id: daily_email
target_type: node_type
target_uuid: 8bde1f2f-eef9-4f2d-ae9c-96921f8193d7
revision_timestamp:
- value: '2025-05-11T09:00:10+00:00'
revision_uid:
- target_type: user
target_uuid: b8966985-d4b2-42a7-a319-2e94ccfbb849
revision_log: { }
status:
- value: true
uid:
- target_type: user
target_uuid: b8966985-d4b2-42a7-a319-2e94ccfbb849
title:
- value: "What's the smallest number of dependencies you can have?"
created:
- value: '2024-07-18T00:00:00+00:00'
changed:
- value: '2025-05-11T09:00:10+00:00'
promote:
- value: false
sticky:
- value: false
default_langcode:
- value: true
revision_translation_affected:
- value: true
path:
- alias: /daily/2024/07/18/smallest-number-of-dependencies
langcode: en
body:
- value: |
<p>Whether it's Drupal modules, PHP libraries, npm packages or Tailwind CSS plugins, what's the smallest number you can have in a project?</p>
<p>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.</p>
<p>The fewer dependencies there are, the less will need to be updated and maintained.</p>
<p>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.</p>
<h2 id="here%27s-the-thing">Here's the thing</h2>
<p>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.</p>
format: full_html
processed: |
<p>Whether it's Drupal modules, PHP libraries, npm packages or Tailwind CSS plugins, what's the smallest number you can have in a project?</p>
<p>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.</p>
<p>The fewer dependencies there are, the less will need to be updated and maintained.</p>
<p>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.</p>
<h2 id="here%27s-the-thing">Here's the thing</h2>
<p>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.</p>
summary: null
field_daily_email_cta: { }