|
|
|
|
|
by ziml77
247 days ago
|
|
That's funny but definitely not far off from reality. I have instructions from my agent to use exceptions but they only help so much. I really dislike their underuse of exceptions. I'm working on ETL/ELT scripts. Just let stuff blow up on me if something is wrong. Like, that config entry "foo" is required. There's no point in using config.get("foo") with a None check which then prints a message and returns False or whatever. Just use config["foo"] and I'll know what's wrong from the stack trace and exception text. |
|