W
Will McGugan
Hi,
Is there a naming convention regarding alternative constructors? ie
static methods where __new__ is called explicity. I use lower_case for
methods in general, but thought maybe CamelCase would be better for
alternative contstructors to distinguish them from methods...
So which is better?
c = Color.FromHtml(r, g, b)
c = Color.from_html(r, g, b)
Will McGugan
Is there a naming convention regarding alternative constructors? ie
static methods where __new__ is called explicity. I use lower_case for
methods in general, but thought maybe CamelCase would be better for
alternative contstructors to distinguish them from methods...
So which is better?
c = Color.FromHtml(r, g, b)
c = Color.from_html(r, g, b)
Will McGugan