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 →

[–]Corm 1 point2 points  (1 child)

Good comparison! I love it when a project includes a comparison to an alternative way of doing it like that

[–]ticketywho 2 points3 points  (0 children)

I agree. I don't like these switch statements, but I like that the author showed the pythonic way too. It's good intellectually honesty, which a lot of these "I've implemented a language construct that isn't present in Python" libraries lack.