- Modular Programming with Python
- Erik Westra
- 267字
- 2021-07-16 10:47:15
Preface
Modular programming is a way of organizing your program's source code. By organizing your code into modules (Python source files) and packages (collections of modules), and then importing those modules and packages into your program, you can keep your programs logically organized and keep potential problems to a minimum.
As your program grows and changes, you will often have to rewrite or expand certain parts of your code. Modular programming techniques help to manage these changes, minimizing side-effects, and keeping your code under control.
As you work with modular programming techniques, you will learn a number of common patterns for using modules and packages, including the divide and conquer approach to programming, the use of abstraction and encapsulation, and the idea of writing extensible modules.
Modular programming techniques are also a great way of sharing your code, either by making it available for other people to use or by reusing your code in another program. Using popular tools such as GitHub and the Python Package Index, you will learn how to publish your code, as well as use code written by other people.
Putting all these techniques together, you will learn how apply "modular thinking" to create better programs. You will see how modules can be used to deal with complexity and change in a large program and how modular programming really is the foundation of good programming technique.
By the end of the book, you will have an excellent understanding of how modules and packages work in Python and how to use them to create high-quality and robust software that can be shared with others.
- C#程序設(shè)計實訓(xùn)指導(dǎo)書
- Learning Real-time Processing with Spark Streaming
- Spring技術(shù)內(nèi)幕:深入解析Spring架構(gòu)與設(shè)計
- C# 2012程序設(shè)計實踐教程 (清華電腦學(xué)堂)
- Microsoft Dynamics GP 2013 Reporting, Second Edition
- Nexus規(guī)?;疭crum框架
- 深入理解Elasticsearch(原書第3版)
- C語言程序設(shè)計
- Windows Phone 7.5:Building Location-aware Applications
- Learning jQuery(Fourth Edition)
- Natural Language Processing with Java and LingPipe Cookbook
- Julia for Data Science
- R的極客理想:量化投資篇
- Learning Unreal Engine Game Development
- UML基礎(chǔ)與Rose建模實用教程(第三版)