▲ | Sohcahtoa82 3 days ago | |
IMO, implicit string concatenation is a bug, not a feature. I once made a stupid mistake of having a list of directories to delete:
Can you spot the error? I somehow forgot the comma in the list. That meant that rather than creating a tuple of directories, I created a single string. So when the `for` loop ran, it iterated on individual characters of the string. What was the first character? "/" of course.I essentially did an `rm -rf /` because of the implicit concatenation. |