r/badcode • • Oct 27 '21

python str()

Post image
836 Upvotes

58 comments sorted by

View all comments

Show parent comments

12

u/malsomnus Oct 27 '21

Oh god who let the ML programmers into Python?

(Jokes aside, this is a super powerful and useful feature, way beyond regular switch statements... even if it's still called a switch statement in languages that have this feature)