News for hackers. Stuff that matters.
Re:Python Proposal (Inspired by Lua) by kstrauser on Sunday August 27, 2023 @04:29PM (#37286349)
I'd argue that functions with only position arguments are a place where you'd never want to use this proposal, ever. A tuple or list would be the right data structure to pass in there.
Re:Python Proposal (Inspired by Lua) by JulianWasTaken on Sunday August 27, 2023 @07:36PM (#37287741)
Of course it would be irrelevant for a function that only took positional arguments.

I was demonstrating the existence of such things in general since OP seemed unaware. For the proposal, you'd of course only use it for functions that took more kinds of arguments.

Re:Python Proposal (Inspired by Lua) by necovek on Monday August 28, 2023 @02:40PM (#37298646)
Thanks for pointing it out. Still, it seems highly unlikely someone would decide to use such a function declaration yet want to use the proposed syntax to pass both positional and keyword arguments.