3 ms·
Why not just use plusses? Or perhaps a join func, which would accomplish the same. I get the use case as you described it, but it just seems like minimal effo
by silisili 5y ago
Why not just use plusses? Or perhaps a join func, which would accomplish the same.
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.
- dnautics 5y agoor 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.
- ErikCorry 5y agoThat 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_.
- TonyRobbins 5y ago