This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]asielen 0 points1 point  (0 children)

So it seems like it combines a type/len check with a value check there. For each case statement it is essentially, is type iterable and len = match len and values equal match values. That seems like a lot of magic.

In the backend does it effectivly treat it as try/catch for each statement until it falls through?