- Hands-On Software Engineering with Python
- Brian Allbee
- 260字
- 2021-06-24 18:20:44
Best practices
There are any number of standards and best practices that surround development, at least once the code base(s) involved gets above a certain level of complexity. They are considered as such because they solve (or prevent) various difficulties that will likely arise if they aren't followed. A fair number of them also focus, if indirectly, on some aspect of future-proofing code, at least from the perspective of trying to make it easier for a new developer (or the same developer, maybe years later) to understand what the code does, how to find specific chunks of code, or, perhaps, to extend or refactor it.
Those guidelines fall, roughly, into two categories, no matter the programming language:
Standards for code: Guidelines and concepts that focus on the structure and organization of code, though not necessarily on how that code functions – more on keeping it easily understood and navigable
Process standards: Guidelines and concepts that center around making sure that code is well behaved and that changes to it can be made with the minimum amount of hassle and disruption
Python adds two more items into that mix that don't quite fit into either of those language-agnostic categories; they are the results of capabilities and functional requirements in the context of Python specifically:
Package organization: How best to structure code at a file-system level; where and when to generate new module files and package directories
When and how to use Python virtual environments: What purposes they serve, and how best to leverage them for a given collection of code
- AutoCAD快速入門與工程制圖
- Excel 2007函數與公式自學寶典
- AWS:Security Best Practices on AWS
- 大數據時代的數據挖掘
- 四向穿梭式自動化密集倉儲系統的設計與控制
- 水晶石精粹:3ds max & ZBrush三維數字靜幀藝術
- 計算機系統結構
- Ceph:Designing and Implementing Scalable Storage Systems
- 網絡布線與小型局域網搭建
- LMMS:A Complete Guide to Dance Music Production Beginner's Guide
- Visual C++項目開發案例精粹
- Pentaho Analytics for MongoDB
- Apache源代碼全景分析(第1卷):體系結構與核心模塊
- 會聲會影X4中文版從入門到精通
- 工業機器人實操進階手冊