Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Design pattern in python
#3
As mention bye @DeaD_EyE many patterns get used in Python without of thinking of it or talking about it.
@Brandon Rhodes Python Patterns has good write up about this.
You see stuff like this when talking about verdict/usage of pattern in Python.
Quote:The “Factory Method” pattern is a poor fit for Python.
It was designed for underpowered programming languages where classes and functions can’t be passed as parameters or stored as attributes.
In those languages, the Factory Method serves as an awkward but necessary escape route.
But it’s not a good design for Python applications
Reply


Messages In This Thread
Design pattern in python - by Prabakaran141 - Nov-13-2018, 10:19 AM
RE: Design pattern in python - by DeaD_EyE - Nov-13-2018, 11:08 AM
RE: Design pattern in python - by snippsat - Nov-13-2018, 01:31 PM
RE: Design pattern in python - by DeaD_EyE - Nov-20-2018, 01:45 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  High level Python program architectural design question - decoration for multiple ent yahbai 0 1,868 Jan-16-2020, 08:30 PM
Last Post: yahbai
  Should Python 3 become multi-threaded by design? uc1 4 3,793 Jul-30-2017, 04:31 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020