Re:Python 3.11: “Zero cost” exception handling
by pythonb3sss on Wednesday October 06, 2021 @12:58PM
(#28775417)
Well, I don't enjoy the "happy path" programming. Admittedly, this implementation to improve speed feels a bit hacky. I only did it because it had a measurable impact on the computational performance of my program. In my other grunt worker scripts, I actually prefer if-elif-else statements because they make code readability better for other programmers who are not Python "natives", but use the scripts or modify them to suit their use cases.
[ Parent
| on HN ]
There are no comments on this comment yet.