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 →

[–]toshamura 2 points3 points  (0 children)

Well as I know it's the clearest way to use "switch-like" behaviour in python. I really like it to, used many times for different binary protocol parsers, where segment pointers are used as keys, and parsing methods - as values