Re: [sage-devel] Consistent naming for factory methods

2020-02-14 Thread Vincent Delecroix
To my mind, it does not hurt to have these `factory.X` as CamelCase or snake_case. The reason is that the factory should be thought of as a Python module (which contains both objects and functions). I agree that it would be nice to uniformize that a bit (and update the developer guide once we have

[sage-devel] Consistent naming for factory methods

2020-02-14 Thread Michael Orlitzky
An official bikeshed thread! We have a number of grouped factory methods to construct familiar objects. Some of them use CamelCase for their method names: sage: graphs. sage: manifolds. sage: valuations. Some use underscores for their method names: sage: polytopes. Some can't make up t