2024-11-14 π programmerhumor β RE: TimeSquirrel
I suppose it depends on the language? For the most part I think youβre right. Exceptions are only used (if at all) in situations where a program diverges unexpectedly from its normal flow. But take a language like Python. Theyβre just everywhere. Even your plain old for loop ends on an exception, and thatβs just business as usual.
2024-11-19 walthervonstolzing β 1π
Python programmers appear to actively promote the βeasier to ask forgiveness, than permissionβ style nowadays. This article has a measured take: realpython.com/python-lbyl-vs-eafp/
ββββ
ββββ