Don’t have strong opinions on this and definitely don’t want the naming to block the PEP.
I don’t think correctness when it comes to terminology for something as fundamental as a programming language is a bad thing. Given how prevalent Python is as a teaching tool in CS101 classes I think using the right words for things – even if the distinction is not as clear in Python – to me personally seems like something that’s worth prioritizing.
From: Guido van Rossum firstname.lastname@example.org Reply-To: "email@example.com" firstname.lastname@example.org Date: Friday, January 3, 2020 at 8:07 AM To: Ethan Smith email@example.com Cc: Brett Cannon firstname.lastname@example.org, Typing-sig email@example.com Subject: [Typing-sig] Re: PEP 612: Parameter Specification Variables
Let me add my +1 to this.
To me, ParamSpec is just longer (and slower to pronounce) for a reason that's debatable and smells like hyper-correctness. After all we typically write *args and **kwargs so the term "arguments" still comes up frequently when discussing function definitions.
I used to believe in the rule that "parameters" are what's part of the function definition and "arguments" are used in a function call, but now I think that the distinction is just a distraction, and trying to follow it a lost cause and probably a form of hyper-correctness.
On Thu, Jan 2, 2020 at 4:38 PM Ethan Smith <firstname.lastname@example.org:email@example.com> wrote: +1 to what Bret said.
I think a lot of people use argument and parameter interchangeably too, at least that's what I noticed.
On Thu, Jan 2, 2020, 4:10 PM Brett Cannon <firstname.lastname@example.org:email@example.com> wrote: I will say that for me, `ArgSpec` makes me think of `inspect.getargspec()` and friends: https://docs.python.org/3/library/inspect.html#inspect.getargspec. _______________________________________________ Typing-sig mailing list -- firstname.lastname@example.org:email@example.com To unsubscribe send an email to firstname.lastname@example.org:email@example.com https://mail.python.org/mailman3/lists/typing-sig.python.org/ _______________________________________________ Typing-sig mailing list -- firstname.lastname@example.org:email@example.com To unsubscribe send an email to firstname.lastname@example.org:email@example.com https://mail.python.org/mailman3/lists/typing-sig.python.org/
-- --Guido van Rossum (python.org/~guidohttp://python.org/~guido) Pronouns: he/him (why is my pronoun here?)http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-change-the-world/