this post was submitted on 22 Nov 2023
295 points (100.0% liked)
196
16597 readers
2653 users here now
Be sure to follow the rule before you head out.
Rule: You must post before you leave.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Python also has about 9000 alternatives that are better than this.
Allowing anything other than variables, number literals, and ':' inside list indices was a mistake.