[Jprogramming] Polygon containment

Bo Jacoby bojacoby at yahoo.dk
Tue Apr 27 20:08:24 HKT 2010


I agree that correctness comes first. 

When a program performs better in some specific cases and worse in other cases then the concept of performance is not well defined. 

Simplicity is necessary for reliability. Big programs have bugs. 

--- Den tirs 27/4/10 skrev R.E. Boss <r.e.boss at planet.nl>:

> Fra: R.E. Boss <r.e.boss at planet.nl>
> Emne: Re: [Jprogramming] Polygon containment
> Til: "'Programming forum'" <programming at jsoftware.com>
> Dato: tirsdag 27. april 2010 13.45
> 
> 
> > Van: programming-bounces at jsoftware.com
> [mailto:programming-
> > bounces at jsoftware.com]
> Namens Bo Jacoby
> > Onderwerp: Re: [Jprogramming] Polygon containment
> > 
> > I think that one should usually resist the temptation
> to introduce
> > additional complexity into a program in order to speed
> it up a little in
> > special cases, because it may turn out to be slower in
> some other cases,
> > which is bad, and simplicity is lost, which is worse,
> and also bugs may be
> > introduced, which is very bad.
> (...)
> 
> 
> My priorities differ: correctness comes first, then
> performance, then
> elegance.
> 
> Efficiency improvements only count from a factor 2 upwards
> (Hui's rule). So
> "to speed it up a little in special cases" is too
> dismissive.
> 
> 
> R.E. Boss
> 
> 
> 
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
> 





More information about the Programming mailing list