On Fri, 6 Nov 2015, Jeroen Demeyer wrote:

1) Should we raise ValueError("Bad things happened.") or ValueError("bad
things happened")? There are 3559 error of the former form and 4150 of
the latter.

Python recommends the second style.

OK. I guess it makes no harm to add a not of this to developer manual?

3) Should we use keyword "algorithm" or "implementation"? Or have both
with different meaning?

I think all the following are used, with similar meanings:
* algorithm
* backend
* impl
* implementation
* method
* solver

Duh.

It would of course be better to reduce the number of keywords like this.

One possible difference between "algorithm" and "implementation" is that "algorithm" is more for one particular method/function and "implementation" for a class.

So mostly we should have "algorithm"? "backend" clearly refers to some bigger difference, like different data structure, and applies mostly to functions creating some object.

And this is another thing to add to developer manual.

--
Jori Mäntysalo

Reply via email to