27 Mar
2020
27 Mar
'20
10:55 a.m.
On Sun, Mar 22, 2020 at 05:00:10AM -0000, Dennis Sweeney wrote:
I like "removeprefix" and "removesuffix". My only concern before had been length, but three more characters than "cut***fix" is a small price to pay for clarity.
I personally rely on auto-complete of my editor while writing. So, thinking about these these methods in "correct" terms might be more important to me that the length. +1 for removeprefix and removesuffix. Thanks, Senthil