Get the latest tech news

Don't Use include-what-you-use


. - It produces a LOT of output for a project where it's first added, so it takes quite a lot of work to adapt because all of the work has to be reviewed (especially on the first run).

After actually doing all that work in a couple of Sound Radix's projects, the end result was that it made almost no difference to the CI build time. It requires writing extra mappings for system headers it isn't aware of (was missing a few on macOS), as well as for 3rd-party frameworks such as JUCE. In conclusion, IWYU probably isn't worth your time, except maybe in extreme cases, e.g., if your codebase makes no use of forward declarations and you want to change that.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of use

use

Related news:

News photo

HN-text: an easy-to-use, text-first Hacker News terminal client

News photo

What use is prehistory to the historian?

News photo

Debian Has Yet To Establish Firm Stance On The Use Of AI