Macros are confusing and error-prone

5/10 Medium

Macros are powerful but extremely tempting to misuse, especially for newcomers. They remain widely used throughout codebases despite their difficulty and propensity to introduce hard-to-find bugs.

Category
dx
Stage
debug
Freshness
persistent
Scope
language
Recurring
Yes

Sources

Collection History

Query: “What are the most common pain points with Swift for developers in 2025?4/4/2026

The code on the screen is no longer the code that runs; it's a template for generating other code, demanding a whole new level of mental gymnastics to debug and maintain.

Query: “What are the most common pain points with C++ for developers in 2025?4/4/2026

they're so flexible and Powerful it's very tempting to try to use them but again for newcomers to this language it's something that uh quite difficult to understand and frankly macros are still being used in a lot of places

Created: 4/4/2026Updated: 4/4/2026