xref

Sean Hinde Sean.Hinde@REDACTED
Mon Apr 29 13:00:22 CEST 2002


> 
> > From: Sean Hinde <Sean.Hinde@REDACTED>
> 
> > > 
> > > Peter H|gfeldt <peter@REDACTED> wrote:
> > >
> ...deleted
> > > 
> > > Coming from a Prolog background, it never ceases to amaze me why
> > > the Erlang compiler (and experienced Erlang programmers) insist
> > > on having singleton variable warnings turned off...
> > 
> > Could it be because they are almost undocumented? All I 
> could find was a
> > mention in the compiler release notes and an entry in 
> erl_lint (which I have
> > never even opened before, and probably wouldn't if it 
> didn't appear in a
> > documentation search on "warn_unused_vars")
> > 
> > Perhaps R9 will bring a list of ALL useful compiler flags 
> into the COMPILER
> > documentation.
> 
> an inexperienced user is the kind of person that will benefit 
> most from
> compiler warnings. aforementioned inexperience makes this the least
> likely person to be able to turn them on.
> 
> therefore:
> compiler warnings should be turned _on_ by default
> 
> experienced programmers that know what they are doing can turn them
> off when needed.

Yes. I meant to add this suggestion also. I wonder who the "aforementioned
inexperience" was aimed at :)

Sean 



NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.




More information about the erlang-questions mailing list