From 85215a7a7c26653bb40214cf420aa74d0e509930 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 8 May 2025 12:00:00 +0100 Subject: [PATCH] Add daily email for 08/05/25 --- source/_daily_emails/2025-05-08.md | 32 ++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 source/_daily_emails/2025-05-08.md diff --git a/source/_daily_emails/2025-05-08.md b/source/_daily_emails/2025-05-08.md new file mode 100644 index 000000000..8010a2606 --- /dev/null +++ b/source/_daily_emails/2025-05-08.md @@ -0,0 +1,32 @@ +--- +title: How many TODO comments do you have? +date: 2025-05-08 +permalink: daily/2025/05/08/todos +tags: + - software-development +cta: ~ +snippet: | + How many TODO comments do you have in your codebase? +--- + +How many TODO comments do you have in your codebase? + +After posting [the grep command from the st repository][0], I decided to check a project I'm working on. + +Here's the command I ran: + +```plain +grep -rnE TODO web/modules/custom | wc -l +``` + +Different to the original, this command finds the number of TODO comments recursively in the custom modules directory and counts them using the `wc` command. + +This gave me a result of 29 TODOs. + +Some were added recently. + +Some were added by Developers who no longer work on the project. + +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. + +[0]: {{site.url}}/daily/2025/05/07/st