HowToBeAProgrammer icon indicating copy to clipboard operation
HowToBeAProgrammer copied to clipboard

Proposed new section - Design patterns

Open braydie opened this issue 8 years ago • 11 comments

Currently we have 1.11 "How to Learn Design Skills", and I think getting an understanding of well-designed software is very important (especially as a beginner), but should we look to include a section later on (perhaps in Intermediate) on when to use (and not use) design patterns? Currently 1.11 makes no mention of them and even having an awareness of them can be beneficial.

braydie avatar Jan 10 '16 00:01 braydie

I agree with that

amrFHamza avatar Jan 10 '16 01:01 amrFHamza

:+1:

oktapodia avatar Jan 11 '16 08:01 oktapodia

Agree, however the topic seems so vast that it would deserve not only a chapter, but probably a whole book to at least lay out the types of methodologies and what each entails.

maciej-gurban avatar Jan 11 '16 09:01 maciej-gurban

@maciej-gurban - completely agree with you. My guess would be that the chapter would merely introduce the concept of design patterns, surmise the pros and cons of using them and then point to further reading on specifics

braydie avatar Jan 11 '16 09:01 braydie

If you want to get a list of design pattern in PHP, you can go here

oktapodia avatar Jan 11 '16 14:01 oktapodia

I think we could definitely expand this section, with references, starting with the "Gang of Four" book and then reference design pattern books in particular languages.

As @maciej-gurban mentions, it is probably not best to try to teach design patterns here. However, I would like to have a statement about how to recognize when a design pattern might help you (e.g., when you find yourself doing the same thing twice or three times)

RobertLRead avatar Jan 12 '16 23:01 RobertLRead

Software Architecture should be correct name to represent the section, we can add the small section inside that like: Design Pattern, Architecture Pattern

ImDineshSaini avatar Jan 13 '16 06:01 ImDineshSaini

I've started something here

It's in a separate branch and will remain so until we're happy with the content to go back into master

braydie avatar Jan 15 '16 15:01 braydie

For design patterns in python https://github.com/faif/python-patterns

jubrilissa avatar Jan 16 '16 15:01 jubrilissa

Any suitable link for design pattern in ruby

ImDineshSaini avatar Jan 25 '16 11:01 ImDineshSaini

How's this one going?

unknownbreaker avatar Oct 05 '21 18:10 unknownbreaker