>From: "Schwab,Wilhelm K" <[email protected]> ... >On #cosH vs. #cosh, etc.,I do not like what you have done, but it's hardly > cause to start a war. I would be more inclined to agree with your no-typo > argument if you spelled out hyperbolic. We write cos and cosh; I see no > advantage to typing cosH, which could just as easily be errant as cosh.
I don't understand your comment. "cos" and "cosh" differ in a single, lower case character. In a line of code where I expect to see "cos" but the text is actually "cosh" I would be more likely to misread the text as "cos" than if the text is "cosH". In this case the capital is distinctive. It clues the reader to the difference. [I once had a bug in a Fortran program where 1 was substituted for l (ell) but in the punch card font, it was very difficult to distinguish this]. >#angle vs. #argument. The terminology of modulus and argument is heavily > drilled into engineers and physisists, so I would go with that inertia vs. > anything from Scheme or Lisp. Thanks. I'll make the change. >>Complex>>angle looks like it will answer zero for a value of zero?? >>Complex>>AFAIK, >> there should be no direction for a zero vector. In a way, it is >> splitting hairs because exact comparisons of floats are dubious, but >> it probably should raise an error for zero. I'll raise an error. Zero divide? One again, thanks. -KenD _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
