100 lines
No EOL
3.7 KiB
JSON
100 lines
No EOL
3.7 KiB
JSON
{
|
|
"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": "\n <p>How many TODO comments do you have in your codebase?<\/p>\n\n<p>After posting <a href=\"https:\/\/www.oliverdavies.uk\/daily\/2025\/05\/07\/st\">the grep command from the st repository<\/a>, I decided to check a project I'm working on.<\/p>\n\n<p>Here's the command I ran:<\/p>\n\n<pre><code class=\"plain\">grep -rnE TODO web\/modules\/custom | wc -l\n<\/code><\/pre>\n\n<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>\n\n<p>This gave me a result of 29 TODOs.<\/p>\n\n<p>Some were added recently.<\/p>\n\n<p>Some were added by Developers who no longer work on the project.<\/p>\n\n<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>\n\n ",
|
|
"format": "full_html",
|
|
"processed": "\n <p>How many TODO comments do you have in your codebase?<\/p>\n\n<p>After posting <a href=\"https:\/\/www.oliverdavies.uk\/daily\/2025\/05\/07\/st\">the grep command from the st repository<\/a>, I decided to check a project I'm working on.<\/p>\n\n<p>Here's the command I ran:<\/p>\n\n<pre><code class=\"plain\">grep -rnE TODO web\/modules\/custom | wc -l\n<\/code><\/pre>\n\n<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>\n\n<p>This gave me a result of 29 TODOs.<\/p>\n\n<p>Some were added recently.<\/p>\n\n<p>Some were added by Developers who no longer work on the project.<\/p>\n\n<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>\n\n ",
|
|
"summary": null
|
|
}
|
|
],
|
|
"feeds_item": [
|
|
{
|
|
"imported": "2025-05-11T08:59:58+00:00",
|
|
"guid": null,
|
|
"hash": "536d18a2fcc971be2e7320233cacb1fc",
|
|
"target_type": "feeds_feed",
|
|
"target_uuid": "90c85284-7ca8-4074-9178-97ff8384fe76"
|
|
}
|
|
]
|
|
} |