DEV Community

Discussion on: Basics of Object Design - Part One

olivermensahdev profile image
Oliver Mensah Author • Edited

I have seen the approach as well. Thanks. So allowing the Factory object to new up the object.

For the code highlighting, you can use
3start-backticts
langauge(php, js, py, etc)

3end-backticks