کتاب Clean Code in Python
- /5.0
- 270 بازدید
- آخرین بروزرسانی 18-May-2024

مقابله با ناکارآمدیها و خطاها به شیوه Pythonic
ویژگیهای کلیدی:
-
بهبود مهارتهای کدنویسی با استفاده از ویژگیهای جدید معرفی شده در پایتون ۳.۹
- پیادهسازی تکنیکهای بازسازی کد و اصول SOLID در پایتون
- اعمال میکروسرویسها به سیستمهای قدیمی خود با پیادهسازی تکنیکهای عملی
توضیحات کتاب:
متخصصان با تجربه در هر زمینهای با موارد متعددی از بینظمی، خوانایی ضعیف و قابلیت تست پایین به دلیل کدهای ساختارنیافته مواجه میشوند.
با کدهای بهروز شده و محتوای بازبینی شده هماهنگ با ویژگیهای جدید پایتون ۳.۹، این نسخه دوم از کتاب "کد تمیز در پایتون" ابزارهای لازم برای غلبه بر این موانع و مدیریت موفقیتآمیز پروژههایتان را به شما ارائه میدهد.
کتاب با توصیف عناصر پایه نوشتن کد تمیز و نقش کلیدی آن در برنامهنویسی پایتون آغاز میشود. شما درباره نوشتن کد کارآمد و خوانا با استفاده از کتابخانه استاندارد پایتون و بهترین روشهای طراحی نرمافزار یاد خواهید گرفت.
کتاب به برنامهنویسی شیءگرا در پایتون میپردازد و نحوه استفاده از اشیاء با توصیفگرها و تولیدکنندهها را نشان میدهد. همچنین اصول طراحی نرمافزار برای تست را به شما نشان داده و چگونگی حل مشکلات با پیادهسازی الگوهای طراحی نرمافزار در کدتان را آموزش میدهد. در فصل پایانی، یک برنامه یکپارچه را به یک برنامه مبتنی بر میکروسرویسها تبدیل میکنیم و کد را به عنوان پایهای برای یک پلتفرم قوی در نظر میگیریم.
با پایان این کتاب، شما در بهکارگیری روشهای کدنویسی تایید شده در صنعت برای طراحی کدهای واقعی پایتون که تمیز، پایدار و خوانا هستند، مهارت خواهید داشت.
آنچه خواهید آموخت:
-
راهاندازی یک محیط توسعه تولیدی با بهرهگیری از ابزارهای خودکار
- بهرهگیری از متدهای جادویی در پایتون برای نوشتن کد بهتر، پنهان کردن پیچیدگی و کپسولهسازی جزئیات
- ایجاد طراحیهای شیءگرای پیشرفته با استفاده از ویژگیهای منحصر به فرد پایتون مانند توصیفگرها
- حذف کدهای تکراری با ایجاد انتزاعات قوی با استفاده از اصول مهندسی نرمافزار شیءگرا
- ایجاد راهحلهای خاص پایتون با استفاده از دکوراتورها و توصیفگرها
- بازسازی موثر کد با کمک تستهای واحد
- ساخت پایههای معماری قوی با یک پایه کد تمیز به عنوان سنگ بنای آن
این کتاب برای چه کسانی است:
این کتاب برای برنامهنویسان تازهکار و همچنین با تجربه طراحی شده است. این کتاب برای رهبران تیم، معماران نرمافزار و مهندسان نرمافزار ارشد که میخواهند کد پایتونیک بنویسند تا در هزینهها صرفهجویی کرده و کارایی را بهبود بخشند، جذاب خواهد بود. این کتاب فرض میکند که شما دانش قوی از برنامهنویسی دارید.
Tackle inefficiencies and errors the Pythonic way
Key Features:
- Enhance your coding skills using the new features introduced in Python 3.9
- Implement the refactoring techniques and SOLID principles in Python
- Apply microservices to your legacy systems by implementing practical techniques
Book Description:
Experienced professionals in every field face several instances of disorganization, poor readability, and testability due to unstructured code.
With updated code and revised content aligned to the new features of Python 3.9, this second edition of Clean Code in Python will provide you with all the tools you need to overcome these obstacles and manage your projects successfully.
The book begins by describing the basic elements of writing clean code and how it plays a key role in Python programming. You will learn about writing efficient and readable code using the Python standard library and best practices for software design.
The book discusses object-oriented programming in Python and shows you how to use objects with descriptors and generators. It will also show you the design principles of software testing and how to resolve problems by implementing software design patterns in your code. In the concluding chapter, we break down a monolithic application into a microservices-based one starting from the code as the basis for a solid platform.
By the end of this clean code book, you will be proficient in applying industry-approved coding practices to design clean, sustainable, and readable real-world Python code.
What You Will Learn:
- Set up a productive development environment by leveraging automatic tools
- Leverage the magic methods in Python to write better code, abstracting complexity away and encapsulating details
- Create advanced object-oriented designs using unique features of Python, such as descriptors
- Eliminate duplicated code by creating powerful abstractions using software engineering principles of object-oriented design
- Create Python-specific solutions using decorators and descriptors
- Refactor code effectively with the help of unit tests
- Build the foundations for solid architecture with a clean code base as its cornerstone
Who this Book is for:
This book is designed to benefit new as well as experienced programmers. It will appeal to team leads, software architects and senior software engineers who would like to write Pythonic code to save on costs and improve efficiency. The book assumes that you have a strong understanding of programming
نظرات خریداران
/5.0
بخش پرسش و پاسخ به زودی راهانداری میشود 🥝
- نسخه 1.0.0
- دسته بندی Python | پایتون
- تاریخ آپدیت 18-May-2024
- تاریخ انتشار May-2024