82 lines
2.6 KiB
YAML
82 lines
2.6 KiB
YAML
uuid:
|
|
- value: e169a4e6-9ebe-437b-90e7-e53f9d559a7f
|
|
langcode:
|
|
- value: en
|
|
type:
|
|
- target_id: daily_email
|
|
target_type: node_type
|
|
target_uuid: 8bde1f2f-eef9-4f2d-ae9c-96921f8193d7
|
|
revision_timestamp:
|
|
- value: '2025-05-11T08:59:58+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: 'How many TODO comments do you have?'
|
|
created:
|
|
- value: '2025-05-08T00:00:00+00:00'
|
|
changed:
|
|
- value: '2025-05-11T08:59:58+00:00'
|
|
promote:
|
|
- value: false
|
|
sticky:
|
|
- value: false
|
|
default_langcode:
|
|
- value: true
|
|
revision_translation_affected:
|
|
- value: true
|
|
path:
|
|
- alias: /daily/2025/05/08/todos
|
|
langcode: en
|
|
body:
|
|
- value: |
|
|
<p>How many TODO comments do you have in your codebase?</p>
|
|
|
|
<p>After posting <a href="/daily/2025/05/07/st">the grep command from the st repository</a>, I decided to check a project I'm working on.</p>
|
|
|
|
<p>Here's the command I ran:</p>
|
|
|
|
<pre><code class="plain">grep -rnE TODO web/modules/custom | wc -l
|
|
</code></pre>
|
|
|
|
<p>Different to the original, this command finds the number of TODO comments recursively in the custom modules directory and counts them using the <code>wc</code> command.</p>
|
|
|
|
<p>This gave me a result of 29 TODOs.</p>
|
|
|
|
<p>Some were added recently.</p>
|
|
|
|
<p>Some were added by Developers who no longer work on the project.</p>
|
|
|
|
<p>This is something I'll often do in the future to review the number of TODOs, fix them in-place or move them into a ticketing system.</p>
|
|
|
|
|
|
format: full_html
|
|
processed: |
|
|
<p>How many TODO comments do you have in your codebase?</p>
|
|
|
|
<p>After posting <a href="http://default/daily/2025/05/07/st">the grep command from the st repository</a>, I decided to check a project I'm working on.</p>
|
|
|
|
<p>Here's the command I ran:</p>
|
|
|
|
<pre><code class="plain">grep -rnE TODO web/modules/custom | wc -l
|
|
</code></pre>
|
|
|
|
<p>Different to the original, this command finds the number of TODO comments recursively in the custom modules directory and counts them using the <code>wc</code> command.</p>
|
|
|
|
<p>This gave me a result of 29 TODOs.</p>
|
|
|
|
<p>Some were added recently.</p>
|
|
|
|
<p>Some were added by Developers who no longer work on the project.</p>
|
|
|
|
<p>This is something I'll often do in the future to review the number of TODOs, fix them in-place or move them into a ticketing system.</p>
|
|
|
|
|
|
summary: null
|
|
field_daily_email_cta: { }
|