News for hackers. Stuff that matters.
Re:Bruce Eckel announces he's going to write Atomic Python by stereosteve on Thursday September 03, 2015 @02:14AM (#10163560)
> * Exceptions as part of control flow: And why not? Exceptions are a part of ordinary human logic. Why do you regard them as unclear or complex?

For any given line it's hard to know if it will raise and if so what type of exceptions.

I do like in Go that if an error can occur there will be a return value for it. Makes you much more aware of when things might go wrong.

With python it seems to be more like "find out at runtime" our "read the docs and source for every function you call"

There are no comments on this comment yet.