Re: draw_polygon - possible code...
| From: | Andrei Zmievski | Date: | Wed, 29 Aug 2001 20:15:07 +0000 |
| Subject: | Re: draw_polygon - possible code... | ||
| References: | 1 2 3 4 5 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-37@lists.php.net to get a copy of this message | ||
On Wed, 29 Aug 2001, Markus Fischer wrote:
> flat ... array(x1,y1,x2,y2 ....
o-kkayyy.. I'll point the finger at you when they come after me. :)
> What do you mean exactly? We can alway detect what kind of array
> or type the user is passing with some simple checks?
Yes, but you'll have to do those checks on every call, affecting the
performance.
-Andrei
For society, it's probably a good thing that engineers value function over
appearance. For example, you wouldn't want engineers to build nuclear power
plants that only _look_ like they would keep all the radiation inside.
(Scott Adams - The Dilbert principle)