oliverdavies.uk/content/node.d408fc8b-4be2-40b9-b1d4-2047cdc472b6.yml

93 lines
3.5 KiB
YAML
Raw Normal View History

2025-07-10 00:14:12 +01:00
uuid:
- value: d408fc8b-4be2-40b9-b1d4-2047cdc472b6
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:16+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: 'Let someone else do the work'
created:
- value: '2024-03-26T00:00:00+00:00'
changed:
- value: '2025-05-11T09:00:16+00:00'
promote:
- value: false
sticky:
- value: false
default_langcode:
- value: true
revision_translation_affected:
- value: true
path:
- alias: /daily/2024/03/26/let-someone-else-do-the-work
langcode: en
body:
- value: |
<p>Yesterday, I was investigating a CSS issue.</p>
<p>It's a known issue due to some legacy code in the website's CSS that I'd fixed before but now needed to extend.</p>
<p>Instead of blindly following the same path and extending my previous fix, I decided to rethink the problem and my approach.</p>
<p>I re-read my documentation and re-reviewed potential solutions I'd evaluated previously.</p>
<p>I decided to take a different approach to solving the problem and found an open-source plugin that someone else had written that gave me the functionality I needed instead of writing it from scratch.</p>
<p>I read the code and did a short spike to see if it worked with the existing configuration.</p>
<p>After some experimentation, I got it to work and added it to the project.</p>
<h2 id="here%27s-the-thing">Here's the Thing</h2>
<p>The plugin I used was only 34 lines of code, but these are lines I didn't need to write or will need to maintain.</p>
<p>If it works, why would I write it myself?</p>
<p>I'd rather use what someone else has written and contribute if I find a bug or need a new feature.</p>
<p>That's the benefit of open-source software, and why I use Drupal, PHP, Sculpin, Tailwind CSS, Nix, and others.</p>
format: full_html
processed: |
<p>Yesterday, I was investigating a CSS issue.</p>
<p>It's a known issue due to some legacy code in the website's CSS that I'd fixed before but now needed to extend.</p>
<p>Instead of blindly following the same path and extending my previous fix, I decided to rethink the problem and my approach.</p>
<p>I re-read my documentation and re-reviewed potential solutions I'd evaluated previously.</p>
<p>I decided to take a different approach to solving the problem and found an open-source plugin that someone else had written that gave me the functionality I needed instead of writing it from scratch.</p>
<p>I read the code and did a short spike to see if it worked with the existing configuration.</p>
<p>After some experimentation, I got it to work and added it to the project.</p>
<h2 id="here%27s-the-thing">Here's the Thing</h2>
<p>The plugin I used was only 34 lines of code, but these are lines I didn't need to write or will need to maintain.</p>
<p>If it works, why would I write it myself?</p>
<p>I'd rather use what someone else has written and contribute if I find a bug or need a new feature.</p>
<p>That's the benefit of open-source software, and why I use Drupal, PHP, Sculpin, Tailwind CSS, Nix, and others.</p>
summary: null
field_daily_email_cta: { }