18 Jul
2016
18 Jul
'16
10:53 p.m.
On Mon, Jul 18, 2016 at 10:17 AM Ethan Furman <ethan@stoneleaf.us> wrote:
There are currently a few locations in the stdlib, such as http and socket, that are now using Enums to replace constants; those names are all upper-case -- those aren't the names I am speaking of.
The names I am speaking of are those in brand-new enumerations where we have full control.
Even if there's a better design as judged in isolation, it still might be best to stay consistent with socket module. To paraphrase "Jakob's Law": programmers spend most of their time using *other* libraries (such as socket, logging, etc.). So it's generally a good idea not to invent new interfaces.