Re:Anti-If: The missing patterns (2016)
by sago on Wednesday June 27, 2018 @06:05PM
(#17412261)
Thank you. Since the example was nothing to do with exceptions, and we don't want to abuse exceptions by using them when they are not needed, I will rewrite your example to cover the GP case:
Python could also use the same approach. Though it also has context managers / the with-statement for this specific application.
[ Parent
| on HN ]
There are no comments on this comment yet.