logoalt Hacker News

pansa2yesterday at 11:43 PM1 replyview on HN

In Python, it’s common to use exceptions for control flow. Even exiting a loop is done via an exception: `StopIteration`.


Replies

arccytoday at 1:39 AM

isn't break more normal

show 2 replies