{ "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

How many TODO comments do you have in your codebase?<\/p>\n\n

After posting the grep command from the st repository<\/a>, I decided to check a project I'm working on.<\/p>\n\n

Here's the command I ran:<\/p>\n\n

grep -rnE TODO web\/modules\/custom | wc -l\n<\/code><\/pre>\n\n

Different to the original, this command finds the number of TODO comments recursively in the custom modules directory and counts them using the wc<\/code> command.<\/p>\n\n

This gave me a result of 29 TODOs.<\/p>\n\n

Some were added recently.<\/p>\n\n

Some were added by Developers who no longer work on the project.<\/p>\n\n

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

How many TODO comments do you have in your codebase?<\/p>\n\n

After posting the grep command from the st repository<\/a>, I decided to check a project I'm working on.<\/p>\n\n

Here's the command I ran:<\/p>\n\n

grep -rnE TODO web\/modules\/custom | wc -l\n<\/code><\/pre>\n\n

Different to the original, this command finds the number of TODO comments recursively in the custom modules directory and counts them using the wc<\/code> command.<\/p>\n\n

This gave me a result of 29 TODOs.<\/p>\n\n

Some were added recently.<\/p>\n\n

Some were added by Developers who no longer work on the project.<\/p>\n\n

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 } ] }