Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

this is why bugs exist

Name: Anonymous 2006-09-11 16:24

The reason why bugs exist in software amounts to one word (well technically two):

BRAINFARTS

look at this... I didnt catch this for a whole hour in my code:

Vector3D Vector3D::add(Vector3D vect)
{
    Vector3D v;
    v.x = x * vect.x;
    v.y = y * vect.y;
    v.z = z * vect.z;

    return v;
}


;_;

I'm not even drunk or high.  Why the shit did I do this?  i must be stupid

sigh

Name: Anonymous 2006-09-11 23:49

>>13

i guess so is john carmack.  from idlib:

class idVec2 {
public:
    float            x;
    float            y;

                    idVec2( void );
                    explicit idVec2( const float x, const float y );

... etc etc

There's no need to be that fucking anal for mathematical objects, unless you're a professor who grades his students but himself hasn't done any programming since 1978.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List