[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pygame] the constructor functions ?????



On Wed, 15 Nov 2000, David Clark wrote:

>Pete Shinners writes:
>
> > whew, after all that thought process, i feel the most comfortable
> > with adding the "new_" prefix to these 3 constructor functions.
>
>I agree, and whatever you think is best :)

I must disagree, makes it look a lot like C, where you don't have
constructors, but must use create_foo() or new_bar(). I'd put constructors
capitalized, but leave all methods and functions lowercase as they are.

--------------------+--------------------------------------------------------
Jan 'Chakie' Ekholm |     Balrog New Media    http://www.balrog.fi/
   Linux Inside     | I'm the blue screen of death, nobody hears your screams

____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org