On Mon, Feb 25, 2008 at 11:09 PM, Oleg Kobchenko <[EMAIL PROTECTED]> wrote:
> In some languages division by zero is bad and
> they throw an error. While in other very well-designed
> languages like JavaScript, NaN is perfectly acceptable,
> without an error, and behaves like it used to in J,
> supposing the same machine/compiler differences.

I am not really sure that accepting behavior like
you might get from:

  javascript:alert(NaN=NaN==NaN);alert(NaN==NaN)

means that j having different behavior is necessarily bad.

(I wanted to construct a more meaningful example, but
was stymied by javascript's lack of expressive power.)

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to