Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Syntax and Semantic errors being on by default

Nathan articulated the advantages of semantic errors being enabled very well. I second that.

-sergey

On Tue, Mar 13, 2012 at 12:02 AM, Nathan Ridge <zeratul976@xxxxxxxxxxx> wrote:

> I would like to hear your opinions on whether or not the errors
> should be kept enabled by default.

I think they should be kept enabled by default.

I have found that CDT's ability to point out semantic errors as I
type, rather than having to wait for a compile cycle, gives me a
tremendous productivity boost. I would imagine the same goes for
many other developers.

I also think that the accuracy of the indexer has improved
significantly since the Indigo release as many indexer bugs were
fixed (notably, bug 197989 [1], but many others as well). While
numerous indexer bugs remain (in particular, in our codebase bug
299911 [2] still causes many false positive errors), I think that
the signal-to-noise ratio of the semantic errors given by CDT is
quite high now (in the Juno version) - high enough, I think, to
be useful to most people.

Finally from a developer's point of view: a lot of the
imperfections in the indexer are still unreported. If users are
exposed to them, they will be reported sooner, when they are fixed
the accuracy of the indexer will increase further, which in turn
motivates more users to report the remaining errors... a positive
feedback loop!

Regards,
Nate

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=197989
[2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=299911

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top