News for hackers. Stuff that matters.
Re:Lua, a Misunderstood Language (2021) by 5d8767c68926 on Thursday September 29, 2022 @01:42PM (#33024425)
>... a comma at the end of the line turned his Python scalar into a unary tuple

I have been burned by this mistake a handful of times. Each instance managed to eat up a shocking amount of time. I definitely consider it a misfeature.

Re:Lua, a Misunderstood Language (2021) by Sohcahtoa82 on Thursday September 29, 2022 @02:10PM (#33024847)
I'm trying to figure out how you ended up with a stray comma at the end of a line. A simple typo, bumping the key without noticing?
Re:Lua, a Misunderstood Language (2021) by Alupis on Thursday September 29, 2022 @02:24PM (#33025042)
My guess would be a bad auto-complete suggestion that wasn't read carefully before accepting.

Loose-type languages often struggle with auto-complete and related. I don't know enough about current state of python development to say with certainty, however.

Re:Lua, a Misunderstood Language (2021) by 5d8767c68926 on Thursday September 29, 2022 @04:15PM (#33026502)
Cannot offer any justification for the error. Just that I have done it more than once, and each time it has taken me too long to debug the underlying cause.