Practical Python Design - C1 Set
2019-07-23 本文已影响0人
左心Chris
书籍下载地址:http://booksdescr.org/ads.php?md5=D2D3A9F8D9A6EDEC632C6F206BBBBC3E
Chapter 1: Before we begin
Systems Thinking
At a very basic level, you can begin by asking yourself: “What are the elements of the
system I want to build?” Write these down.
Elements of a design pattern
• Pattern name
• Intent/purpose
• Aliases
• Motivation/context
• Problem
• Solution
• Structure
• Participants
• Collaborations
• Consequences/constraints
• Implementation
• Sample code
• Known uses
• Related patterns
Classification
- Creational
- Structural
- Behavioral
Editors
- Atom https://atom.io/
- LightTable
- PyCharm
- Vim Set up Vim for Python by going here: https://realpython.com/blog/python/vim-and-
python-
a-match-made-in-heaven/. - Emacs Set up Emacs for Python development by reading this: https://realpython.com/
blog/python/emacs-the-best-python-editor/. - Sublime Text If you are interested in looking at it, you can get it here: https://www.sublimetext.
com/3.