Add daily email for 08/05/25

This commit is contained in:
Oliver Davies 2025-05-08 12:00:00 +01:00
parent fba68d779c
commit 85215a7a7c

View file

@ -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