Add daily email for 08/05/25
This commit is contained in:
parent
fba68d779c
commit
85215a7a7c
1 changed files with 32 additions and 0 deletions
32
source/_daily_emails/2025-05-08.md
Normal file
32
source/_daily_emails/2025-05-08.md
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue