oliverdavies.uk/content/node.38522a11-5473-4584-a8f0-c9097a843c9b.yml

72 lines
2.7 KiB
YAML

uuid:
- value: 38522a11-5473-4584-a8f0-c9097a843c9b
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:01+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: 'More code, more problems'
created:
- value: '2025-02-21T00:00:00+00:00'
changed:
- value: '2025-05-11T09:00:01+00:00'
promote:
- value: false
sticky:
- value: false
default_langcode:
- value: true
revision_translation_affected:
- value: true
path:
- alias: /daily/2025/02/21/more
langcode: en
body:
- value: |
<p>An interesting exercise is to run a tool like <a href="https://github.com/AlDanial/cloc">cloc</a> to count the number of lines in your application.</p>
<p>It counts the number of files and lines within them, as well as how many lines are blank, comments or code.</p>
<p>It's a metric that I like to check occasionally as I like to keep codebases lean and with the minimum amount of code.</p>
<p>I don't like to have features that aren't used or <a href="/daily/2025/02/16/pre-optimise">pre-optimised code</a> for use cases that may not happen.</p>
<p>The more code there is in your application, the problems you could encounter.</p>
<p>There are more places for bugs and issues to hide.</p>
<p>Keeping the amount of code to a minimum makes it quicker and easier to write, review and release as well as fix any bugs that are found in the future.</p>
format: full_html
processed: |
<p>An interesting exercise is to run a tool like <a href="https://github.com/AlDanial/cloc">cloc</a> to count the number of lines in your application.</p>
<p>It counts the number of files and lines within them, as well as how many lines are blank, comments or code.</p>
<p>It's a metric that I like to check occasionally as I like to keep codebases lean and with the minimum amount of code.</p>
<p>I don't like to have features that aren't used or <a href="http://default/daily/2025/02/16/pre-optimise">pre-optimised code</a> for use cases that may not happen.</p>
<p>The more code there is in your application, the problems you could encounter.</p>
<p>There are more places for bugs and issues to hide.</p>
<p>Keeping the amount of code to a minimum makes it quicker and easier to write, review and release as well as fix any bugs that are found in the future.</p>
summary: null
field_daily_email_cta: { }