Factory method | Design Patterns in Python | Live coding

Pubblicato il: 09 febbraio 2020
sul canale di: Vasyl Herman
90
0

What the Factory method is?
It's typically any method that creates Objects.
A Factory method is an alternative to the initializer that has lots of advantages.
You can have a good naming (better than init), you have a better naming for arguments.
Otherwise, you would end up with a massive constructor

https://github.com/PrettySolution/Des...


In questa pagina del sito puoi guardare il video online Factory method | Design Patterns in Python | Live coding della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Vasyl Herman 09 febbraio 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 90 volte e gli è piaciuto 0 spettatori. Buona visione!