C++ Logo

sg15

Advanced search

Re: [Tooling] Purview of SG15 ?

From: Ville Voutilainen <ville.voutilainen_at_[hidden]>
Date: Thu, 22 Feb 2018 23:28:44 +0200
On 22 February 2018 at 20:33, Corentin <corentin.jabot_at_[hidden]> wrote:
> I was wondering what was the extent of what is meant by tooling ?
> Would it only be about providing tools, or can we discuss about ways to make
> C++ more tools friendly?

Sure, discussing how to make C++ more tool-friendly should certainly
be in scope, perhaps
more than providing tools. Making folks aware of existing tools is
good, and perhaps finding
people willing to work on tools is also good, but that only goes so
far in a standards committee.

> I do have a pretty strong opinion on tooling C++ : It can't be done. Not
> really.
> The preprocessor and its pesky #ifdef blocks gets in the way. A tool never
> have a complete view of the source code so even a simple method renaming
> can't be done reliably ( and reliability is everything).
>
> Of course the preprocessor is not something we can get rid of, but maybe,
> just maybe we can tame it and contain it enough that reliable tooling
> becomes possible.
> I'd love that to be discussed and maybe see what's doable in that area

Well, taming the preprocessor is one reason why the Modules TS doesn't
support exporting macros.

Received on 2018-02-22 22:28:46