Beyond the basic stuff with Python : best practices for writing clean code
معرفی کتاب «Beyond the basic stuff with Python : best practices for writing clean code» نوشتهٔ Al Sweigart، منتشرشده توسط نشر No Starch Press در سال 2020. این کتاب در فرمت epub، زبان انگلیسی ارائه شده است. «Beyond the basic stuff with Python : best practices for writing clean code» در دستهٔ بدون دستهبندی قرار دارد.
BRIDGE THE GAP BETWEEN NOVICE AND PROFESSIONAL You’ve completed a basic Python programming tutorial or finished Al Sweigart’s best selling Automate the Boring Stuff with Python. What’s the next step toward becoming a capable, confident software developer? Welcome to Beyond the Basic Stuff with Python. More than a mere collection of advanced syntax and masterful tips for writing clean code, you’ll learn how to advance your Python programming skills by using the command line and other professional tools like code formatters, type checkers, linters, and version control. Sweigart takes you through best practices for setting up your development environment, naming variables, and improving readability, then tackles documentation, organization and performance measurement, as well as object-oriented design and the Big-O algorithm analysis commonly used in coding interviews. The skills you learn will boost your ability to program—not just in Python but in any language. You’ll learn: Coding style, and how to use Python’s Black auto-formatting tool for cleaner code Common sources of bugs, and how to detect them with static analyzers How to structure the files in your code projects with the Cookiecutter template tool Functional programming techniques like lambda and higher-order functions How to profile the speed of your code with Python’s built-in timeit and cProfile modules The computer science behind Big-O algorithm analysis How to make your comments and docstrings informative, and how often to write them How to create classes in object-oriented programming, and why they’re used to organize code Toward the end of the book you’ll read a detailed source-code breakdown of two classic command-line games, the Tower of Hanoi (a logic puzzle) and Four-in-a-Row (a two-player tile-dropping game), and a breakdown of how their code follows the book’s best practices. You’ll test your skills by implementing the program yourself. Of course, no single book can make you a professional software developer. But Beyond the Basic Stuff with Python will get you further down that path and make you a better programmer in the process as you learn to write readable code that’s easy to debug and perfectly Pythonic. Author Bio Al Sweigart is a celebrated software developer, creator of a wildly popular Udemy Python course, and a programming teacher. A fellow at the Python Software Foundation, Sweigart is also the author of three other Python books with No Starch Press, including the worldwide bestseller Automate the Boring Stuff with Python. BRIDGE THE GAP BETWEEN NOVICE AND PROFESSIONAL You've completed a basic Python programming tutorial or finished Al Sweigart's bestseller, Automate the Boring Stuff with Python . What's the next step toward becoming a capable, confident software developer? Welcome to Beyond the Basic Stuff with Python . More than a mere collection of advanced syntax and masterful tips for writing clean code, you'll learn how to advance your Python programming skills by using the command line and other professional tools like code formatters, type checkers, linters, and version control. Sweigart takes you through best practices for setting up your development environment, naming variables, and improving readability, then tackles documentation, organization and performance measurement, as well as object-oriented design and the Big-O algorithm analysis commonly used in coding interviews. The skills you learn will boost your ability to program—not just in Python but in any language. You'll learn: Coding style, and how to use Python's Black auto-formatting tool for cleaner code Common sources of bugs, and how to detect them with static analyzers How to structure the files in your code projects with the Cookiecutter template tool Functional programming techniques like lambda and higher-order functions How to profile the speed of your code with Python's built-in timeit and cProfile modules The computer science behind Big-O algorithm analysis How to make your comments and docstrings informative, and how often to write them How to create classes in object-oriented programming, and why they're used to organize code Toward the end of the book you'll read a detailed source-code breakdown of two classic command-line games, the Tower of Hanoi (a logic puzzle) and Four-in-a-Row (a two-player tile-dropping game), and a breakdown of how their code follows the book's best practices. You'll test your skills by implementing the program yourself. Of course, no single book can make you a professional software developer. But Beyond the Basic Stuff with Python will get you further down that path and make you a better programmer, as you learn to write readable code that's easy to debug and perfectly Pythonic Requirements: Covers Python 3.6 and higher Go from beginner programmer to Python programmer! Level up your skills to an intermediate level. You're a student who wants to jumpstart your career with practical skills, or you're a self-taught beginner who has learned all you can from beginning programming books and coding bootcamps. Now you're looking for the next step to becoming a real-world professional programmer so you can work with other Pythonistas and get started with your career. If that's who you are, then this book is for you! Become a Python programmer by: Getting a run down of what complex-sounding technical jargon actually means Implementing techniques for making your code understandable to other programmers Detecting and avoiding common errors by adhering to best practices Learning how to write Pythonic code that makes use of the language's strengths and avoids falling prey to its oddities Master advanced object-oriented programming strategies like creating properties and inheriting from classes Creating a variety of projects with your newly learned skills! This book is perfect for self-taught programmers looking for the stuff intro books don't teach you and students wanting to get practical information before applying their new programming skills Table of contents Introduction PART 1: GETTING STARTED Chapter 1: Dealing with Errors and Asking for Help Chapter 2: Environment Setup and the Command Line PART 2: BEST PRACTICES, TOOLS, AND TECHNIQUES Chapter 3: Code Formatting with Black Chapter 4: Choosing Understandable Names Chapter 5: Finding Code Smells Chapter 6: Writing Pythonic Code Chapter 7: Programming Jargon Chapter 8: Common Python Gotchas Chapter 9: Esoteric Python Oddities . . . Chapter 10: Writing Effective Functions Chapter 11: Comments, Docstrings, and Type Hints Chapter 12: Organizing Your Code Projects with Git Chapter 13: Measuring Performance and Big O Algorithm Analysis Chapter 14: Practice Projects PART 3: OBJECT-ORIENTED PYTHON Chapter 15: Object-Oriented Programming and Classes Chapter 16: Object-Oriented Programming and Inheritance Chapter 17: Pythonic OOP: Properties and Dunder Methods You're A Student Who Wants To Jumpstart Their Career With Practical Skills, Or You're A Self-taught Beginner Who Has Learned All You Can From Beginner Programmer Books And Coding Bootcamps. Now You're Looking For The Next Step To Becoming A Real-world Professional Programmer So You Can Create Your Own Apps And Get Started With Your Career. If That Fits, Then This Book Is For You! This Book Is Perfect For Self-taught Programmers Looking For The Stuff Intro Books Don't Teach You And Students Wanting To Get Practical Information Before Getting Started With Applying Their New Programming Skills. "A guide for programmers who already are familiar with the Python programming language that explains how to make code more understandable to other programmers, addresses Python conventions and best practices, and teaches how to use object-oriented programming strategies"-- Provided by publisher "A guide for programmers who already are familiar with the Python programming language that explains how to make code more understandable to other programmers, addresses Python conventions and best practices, and teaches how to use object-oriented programming strategies"-- Résumé de l'éditeur
دانلود کتاب Beyond the basic stuff with Python : best practices for writing clean code