[erlang-questions] Package Support/Use

Michael McDaniel <>
Mon Nov 6 19:07:38 CET 2006


On Mon, Nov 06, 2006 at 09:05:21AM +0100, Mats Cronqvist wrote:
> Richard A. O'Keefe wrote:
> > Dominic Williams <> wrote:
> > 	- returning tagged values vs. throwing
> > 
> > I thought we did have advice about that?  I can't remember where
> > I saw it, but it was along the lines of "don't use exceptions
> > except for things that are really exceptional".  In other languages,
> > for example, coming to the end of a file is NOT exceptional; most
> > "files" HAVE an end.  So a language shouldn't indicate reaching the end
> > of a file (for the first time, at least) by raising an exception.
> 
>    i hope you misremember, cause returning tagged tuples is truly abominable. 
> only a closet C programmer would use that idiom.
> 
>    mats
_______________________________________________

 containing a variety of suggestions ...

 http://www.erlang.se/doc/programming_rules.shtml 


~M



More information about the erlang-questions mailing list