- The Python Apprentice
- Robert Smallshire Austin Bingham
- 163字
- 2021-07-02 22:16:50
It's a philosophy
Finally, no description of Python would be complete with mentioning that, to many people, Python represents a philosophy for writing code. Principles of clarity and readability are part of what it means to write correct or pythonic code. It's not always clear what pythonic means in all circumstances, and sometimes there may be no single correct
way to write something. But the fact that the Python community is concerned about issues like simplicity, readability, and explicitness means that Python code tends to be more…well…beautiful!
Many of Python's principles are embodied in the so-called Zen of Python. The "zen" isn't a hard-and-fast set of rules, but rather a set of guidelines or touchstones to keep in mind when coding. When you find yourself trying to decide between several courses of action, these principles can often give you a nudge in the right direction. We'll be highlighting elements from the "Zen of Python" throughout this book.
- Java逍遙游記
- Python編程自學(xué)手冊
- C# Programming Cookbook
- JavaScript Unlocked
- 趣學(xué)Python算法100例
- Learning Elixir
- 老“碼”識途
- MySQL數(shù)據(jù)庫管理與開發(fā)實踐教程 (清華電腦學(xué)堂)
- Python Data Analysis(Second Edition)
- Java項目實戰(zhàn)精編
- Protocol-Oriented Programming with Swift
- 軟件測試實用教程
- SQL Server實用教程(SQL Server 2008版)
- Spring Boot+Vue全棧開發(fā)實戰(zhàn)
- Django實戰(zhàn):Python Web典型模塊與項目開發(fā)