mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: [kmeans] Error Handling
Date Mon, 15 Jun 2009 07:33:36 GMT
If the error is not normally expected, I would tend toward exceptions.  If
the natural idiom is to use an if-statement, null might be OK.   If
null-return is used and there isn't an if, then you have a bug in k-means at
least.

I/O is an area that is kind of conflicted on this sort of issue.

On Sun, Jun 14, 2009 at 1:47 AM, Robert Burrell Donkin <
robertburrelldonkin@gmail.com> wrote:

> i'd like
> to contribute a patch but i'm unsure about the conventional error
> handling strategy used in Mahout...
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message