Re:5% of 666 Python repos had comma typo bugs (inc V8, Tenso...
by dnautics on Friday January 07, 2022 @01:13PM
(#29842563)
or if that's the use case, require the whitespace to include a \n or \r\n... It's not like python doesn't have significant whitespace already.
Re:5% of 666 Python repos had comma typo bugs (inc V8, Tenso...
by ErikCorry on Friday January 07, 2022 @01:23PM
(#29842712)
That wouldn't fix most of the cases highighted by the tool in the article.
So strange that Python has completely different syntax from C, but they chose to copy this obscure syntactic feature _even though they have the plus operator on strings_.
I get the use case as you described it, but it just seems like minimal effort to accomplish and have some semblance of explicit/safety.