|
From: Martin D. <ak...@cs...> - 2000-04-12 11:01:02
|
Question remains as to what we do with constructors. Which methid do we say is our default method? On Wed, 12 Apr 2000, Jone Marius Vignes wrote: > If we go with coordyStuffd(int x, int y, int w, int h), we should make that > coordyStuffD(int x, int y, int w, int h) > This is according to the unwritten method-call guidelines which states that > a call should look something like this: > createSomethingBig() > deleteMe() > die() > > I say we go for the coordyStuffD/coordyStuffL. (This will hopefully avoid > some confusion) > > ----- Original Message ----- > From: "Martin Donlon" <ak...@cs...> > To: <kgb...@li...> > Sent: Wednesday, April 12, 2000 10:52 AM > Subject: [Kgb-developer] Coordinates > > > > Short little question. > > > > When defining functions that take a rectangular area as parameters will we > > go with: > > > > coordyStuff(int x, int y, int x2, int y2) > > or > > coordyStuff(int x, int y, int w, int h) > > > > OR > > > > do we go with something like > > > > coordyStuffd(int x, int y, int w, int h) > > coordyStuffl(int x, int y, int x2, int y2) > > where l stands for locations and d stands for dimensions > > > > > > Long live the confused, > > Akawaka. > > -- > > Bother! said Pooh and lit another joint. > > > > > > _______________________________________________ > > Kgb-developer mailing list > > Kgb...@li... > > http://lists.sourceforge.net/mailman/listinfo/kgb-developer > > > > > _______________________________________________ > Kgb-developer mailing list > Kgb...@li... > http://lists.sourceforge.net/mailman/listinfo/kgb-developer > Long live the confused, Akawaka. -- Bother! said Pooh, as he puked all over Christopher Robin. |