« Return to Thread: do design patterns still apply with Python?

Re: do design patterns still apply with Python?

by John Salerno :: Rate this Message:

Reply to Author | View in Thread

shandy.b@... wrote:

> In python, you might find it more natural to do design patterns in a
> completely different way than they're implemented in Java.  For
> example, I've heard of using the Singleton pattern in python by just
> implementing it as a module, no classes necessary.


Yeah, that's what I was wondering. I wonder if, after reading a DP book,
I might have to 'unlearn' some things when applying them to Python. But
I suppose I should just do it first and then try to implement them
myself. OOP is just so mind-bending for me that I've kind of put off
patterns right now until I get more comfortable with it.  :)
--
http://mail.python.org/mailman/listinfo/python-list

 « Return to Thread: do design patterns still apply with Python?