登入選單
返回Google圖書搜尋
Python Clean Coding
註釋Discover simple practices for writing clean and efficient Python code About This Video Make your organization more effective with efficient and clean coding practices Identify good code and bad code, and learn to convert bad code into good Detailed examples of Python features that will enable you to write descriptive, elegant code In Detail Even bad code can function. But if code isn't clean, it can bring a development organization to its knees. Every year, countless hours and significant resources are lost because of poorly written code. But it doesn't have to be that way. Peter Fisher will teach you Python features that are applicable to writing clean code. First, we will talk about the pros and cons that confront the programmer when trying to write clean Python code. Then, we will explore the structure of a Python program and highlight features that will help us clean up and simplify our code. We will explore some good editors with built-in code analysis and linters to help guide you. We will also talk about some very helpful modules that will keep your code clean and prevent you from reinventing the wheel. Then, we will discuss some general code cleaning guidelines that aren't exclusively applicable to Python, including naming conventions and programming styles. Finally, we will apply what we've learned in the previous videos to rewriting and reorganizing real-world Python programs into clean and beautiful code that can be more easily understood, debugged, and extended. Downloading the example code for this course: You can download the example code files for this course on GitHub at the following link: https://github.com/PacktPublishing/Writing-Clean-Python-Code . If you require support please email: customercare@packt.com.