[Baypiggies] Python way to avoid usage of raise

Daniel González Gasull daniel at djansoft.com
Wed Oct 6 04:45:31 CEST 2010

I agree.  That's an anti-pattern:


The article is about Java, but it applies anyway.  See where it says
"Log and Return Null".

On Tue, Oct 5, 2010 at 7:27 PM, Glen Jarvis <glen at glenjarvis.com> wrote:
>> My work place has imposed a rules for no use of exception (catching is allowed).
> What?!?
> Forgive my reaction, I'm just very surprised. Why has your workplace implemented this policy? Has anyone else on BayPIGgies seen a  policy like this? What's the rationale?  Am I a Luddite for not hearing on this?
> I'm sorry. I know you asked a genuine question and I haven't answered it. I just found this very odd and am first getting my head around the question.
> Cheers,
> Glen
> _______________________________________________
> Baypiggies mailing list
> Baypiggies at python.org
> To change your subscription options or unsubscribe:
> http://mail.python.org/mailman/listinfo/baypiggies

http://DjanSoft.com :: Agile Application Development with Python

More information about the Baypiggies mailing list