Small poll

Martin Bjorklund mbj@REDACTED
Thu Dec 11 10:30:46 CET 2003


Kostis Sagonas <kostis@REDACTED> wrote:
> I was wondering whether the Erlang user community would care
> to comment on the following:
> 
> In a function like:
> 
> 	test(A) ->
> 	    a + 42.
> 
> which is either crap (arguably) or a typo (A vs a), how many
> Erlang users:
> 
>  1. Are content with the current situation where the compiler
> 	happily compiles this program
>  2. Would like to see a warning, but a .beam file generated
> 	nevetheless
>  3. Would prefer if the compiler in R10 refused to compile it


I vote for #2  (followed by #3 + flag to force compilation, followed
by #1, followed by plain #3).


/martin




More information about the erlang-questions mailing list