oliverdavies.uk/content/node.2b55b7dd-2287-462d-a951-62603ce334bd.yml

72 lines
3.3 KiB
YAML

uuid:
- value: 2b55b7dd-2287-462d-a951-62603ce334bd
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:05+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: 'Why consistency and reproducibility are important'
created:
- value: '2024-11-12T00:00:00+00:00'
changed:
- value: '2025-05-11T09:00:05+00:00'
promote:
- value: false
sticky:
- value: false
default_langcode:
- value: true
revision_translation_affected:
- value: true
path:
- alias: /daily/2024/11/12/why-consistency-and-reproducibility-are-important
langcode: en
body:
- value: |
<p>Have you worked on a project where different Developers are developing with different tools or have different versions of packages installed?</p>
<p>In a development team, you want all environments to be consistent - including every Developer's local environment.</p>
<p>You want to have every environment to be as close as possible to each other or, ideally, identical.</p>
<p>You want everyone to use the same PHP version, the same web and database servers and the same packages installed.</p>
<p>Once things start to diverge, bugs can be introduced - such as writing code locally in a newer version of PHP than what's on production.</p>
<p>Ideally, you also want everything to be reproducible with locked dependencies and generate the same outcome regardless of when the commands are run.</p>
<p>This is one of the main reasons I've <a href="/daily/2024/11/11/could-nix-and-devenv-replace-docker-compose">started to use Nix and devenv for projects</a> - because they create environments that are both consistent and reproducible, reducing the chances of dependency mismatches and bugs creeping into my code.</p>
format: full_html
processed: |
<p>Have you worked on a project where different Developers are developing with different tools or have different versions of packages installed?</p>
<p>In a development team, you want all environments to be consistent - including every Developer's local environment.</p>
<p>You want to have every environment to be as close as possible to each other or, ideally, identical.</p>
<p>You want everyone to use the same PHP version, the same web and database servers and the same packages installed.</p>
<p>Once things start to diverge, bugs can be introduced - such as writing code locally in a newer version of PHP than what's on production.</p>
<p>Ideally, you also want everything to be reproducible with locked dependencies and generate the same outcome regardless of when the commands are run.</p>
<p>This is one of the main reasons I've <a href="http://default/daily/2024/11/11/could-nix-and-devenv-replace-docker-compose">started to use Nix and devenv for projects</a> - because they create environments that are both consistent and reproducible, reducing the chances of dependency mismatches and bugs creeping into my code.</p>
summary: null
field_daily_email_cta: { }