Am 26.03.20 um 06:28 schrieb Cameron Simpson:
On 24Mar2020 18:49, Brett Cannon <[email protected]> wrote:
-1 on "cut*" because my brain keeps reading it as "cute".
+1 on "trim*" as it is clear what's going on and no confusion with preexisting methods.
+1 on "remove*" for the same reasons as "trim*".

I reiterate my huge -1 on "trim" because it will confuse every PHP user who comes to us from the dark side. Over there "trim" means what our "strip" means.

I've got (differing) opinions about the others, but "trim" is a big one to me.

As a full stack developer with terrible memory, I agree. JavaScript also uses trim() like Python's strip(), and this would quickly get confusing.

 - Sebastian

_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/RNVBORUJDVWBQPELPSPYMNHBVLCZ4B5B/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to