---
title: "#deadcode articles | Hashnode"
description: "Explore the latest #deadcode articles, tutorials, and guides on Hashnode."
url: "https://hashnode.com/tag/deadcode"
---

Tag

# #deadcode

0 posts · 0 followers

[Powerduck](https://hashnode.com/@powerduck) · [Oct 24](https://hashnode.com/posts/dead-code-flag-misses-string-keyed-dispatch/6adceab653b55bc9bb9864cb)

### [The reviewer flagged the helper as dead code, but a string in the config was the only caller](https://blogs.powerduck.com/dead-code-flag-misses-string-keyed-dispatch?utm_source=hashnode&utm_medium=feed)

A reviewer flags processRefundLegacy as unused: no direct caller, no test, clean deletion diff. A string key in a dispatch table under a non-default flow reaches it, and removal breaks production. Why static reachability misses registry routing and the checks that prove a function is truly dead.

3 min read · [blogs.powerduck.com](https://blogs.powerduck.com/dead-code-flag-misses-string-keyed-dispatch?utm_source=hashnode&utm_medium=feed)
