πŸ’¬ Reply by tunetardis

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.

tunetardis

TimeSquirrel

πŸ”„ programmerhumor

πŸ’¬ Replies

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/

────

View parent post

View first post in thread

────

πŸ“‘ Local feed

πŸ•οΈ Communities

πŸ”₯ Hashtags

πŸ”Ž Search posts

πŸ”‘ Sign in

πŸ“Š Status

πŸ›Ÿ Help