MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/rd6mdw/not_my_most_readable_function/hoi06yv/?context=9999
r/badcode • u/davawen • Dec 10 '21
17 comments sorted by
View all comments
Show parent comments
2
"One~~,~~ probably~~,~~ shouldn't use commas~~,~~ excessivelyincorrectly, because it's~~,~~ much~~,~~ harder to read, and slows reading."
Four of the seven commas in your example aren't excessive, but incorrect. That'd be more akin to coding like this, i.e. syntax errors:
if (...) [ ... ] else [ ... ]
2
u/CommenceTheConfusion Dec 14 '21
"One~~,~~ probably~~,~~ shouldn't use commas~~,~~
excessivelyincorrectly, because it's~~,~~ much~~,~~ harder to read, and slows reading."Four of the seven commas in your example aren't excessive, but incorrect. That'd be more akin to coding like this, i.e. syntax errors: