Am 26.03.20 um 06:28 schrieb Cameron Simpson:
As a full stack developer with terrible memory, I agree. JavaScript also uses trim() like Python's strip(), and this would quickly get confusing.On 24Mar2020 18:49, Brett Cannon <[email protected]> wrote: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.-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*".
- 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/