The article claims that adding subscript support to your own types is unique to Swift, but I immediately thought of how you would do it in Python:
https://docs.python.org/3/reference/datamodel.html#object.__...
I admit I don’t have a ton of experience in other languages. Is this an uncommon language feature?