[erlang-questions] Package Support/Use
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.
containing a variety of suggestions ...
More information about the erlang-questions