30 Apr
2020
30 Apr
'20
5:51 a.m.
Andrew Barnert via Python-ideas writes:
Also -1 on the flag.
Also -1 on the flag, for the same set of reasons. I have to dissent somewhat from one of the complaints, though:
auto-complete won’t help at all,
Many (most?) people use IDEs that will catch up more or less quickly, though. Such catchup could be automated to some extent by using an Enum, although folks who would use the flag might prefer the string API. You could handle both, but that would add even more complexity to the function's initialization. I think that the issue of searchability and signature are pretty compelling reasons for such a simple feature to be part of the function name. Steve