
۴۴٬۰۰۰تومان
نوع فایل دانلود: EPUB
پس از خرید، یک فایل EPUB دریافت میکنید.
این فایل با Calibre، Apple Books و سایر کتابخوانهای دیجیتال مناسب است.
شروع نوشتن کد با پایتون آسان است؛ برای همین این زبان اینقدر محبوب شده است. با این حال، پایتون قوتها، جذابیتها و بیانگری ویژهای دارد که در ابتدا سخت میتوان فهمیدشان — و همچنین دامهای پنهانی که اگر از آنها خبر نداشته باشید، بهراحتی زمینگیرتان میکنند. پایتون مؤثر به شما کمک میکند قدرت کامل پایتون را به کار بگیرید و کدی بنویسید که بسیار محکم، کارآمد، قابل نگهداری و با عملکرد خوب باشد. برت اسلاتکین با سبک کوتاه و مبتنی بر موقعیت که اسکات مایرز در کتاب پرفروش Effective C++ پایهگذاری کرد، ۵۹ بهترین روش، نکته، میانبر و نمونهٔ واقعی کد را از برنامهنویسان خبره گرد هم آورده است.
اسلاتکین با مثالهای واقعی، ویژگیهای کمترشناخته، ظرافتها و اصطلاحات پایتون را آشکار میکند که بهشدت روی رفتار و عملکرد کد اثر میگذارند. یاد میگیرید وقتی چند گزینه وجود دارد، کارآمدترین و مؤثرترین راه را برای انجام کارهای مهم انتخاب کنید، و کدی بنویسید که فهمیدن، نگهداری و بهتر کردنش آسانتر باشد.
با درک عمیقی که از تواناییهای پایتون دارد، اسلاتکین برای هر حوزهٔ اصلی توسعه، هم در پایتون ۳.x و هم در پایتون ۲.x، راهنمایی عملی میدهد. موضوعات شامل اینهاست:• الگوریتمها• اشیاء• همزمانی• همکاری• ماژولهای داخلی• تکنیکهای محیط عملیاتی• و بیشتر
هر بخش راهنماییهای مشخص و قابل اجرا دارد که در قالب آیتمها سازمان یافتهاند؛ هر آیتم با توصیهای دقیق همراه است که با استدلالهای فنی جزئی و مثالهای روشن پشتیبانی میشود. با پایتون مؤثر میتوانید همهٔ کد پایتونی که مینویسید را بهطور منظم بهتر کنید: نه با پیروی کورکورانه از قوانین یا تقلید از اصطلاحات نامفهوم، بلکه با درک عمیق دلایل فنیای که نشان میدهد چرا این کارها منطقی هستند.
It's easy to start writing code with Python: that's why the language is so immensely popular. However, Python has unique strengths, charms, and expressivity that can be hard to grasp at first -- as well as hidden pitfalls that can easily trip you up if you aren't aware of them. Effective Python will help you harness the full power of Python to write exceptionally robust, efficient, maintainable, and well-performing code. Utilizing the concise, scenario-driven style pioneered in Scott Meyers's best-selling Effective C++, Brett Slatkin brings together 59 Python best practices, tips, shortcuts, and realistic code examples from expert programmers.Through realistic examples, Slatkin uncovers little-known Python quirks, intricacies, and idioms that powerfully impact code behavior and performance. You'll learn how to choose the most efficient and effective way to accomplish key tasks when multiple options exist, and how to write code that's easier to understand, maintain, and improve.Drawing on his deep understanding of Python's capabilities, Slatkin offers practical advice for each major area of development with both Python 3.x and Python 2.x. Coverage includes:• Algorithms• Objects• Concurrency• Collaboration• Built-in modules• Production techniques• And moreEach section contains specific, actionable guidelines organized into items, each with carefully worded advice supported by detailed technical arguments and illuminating examples. Using Effective Python, you can systematically improve all the Python code you write: not by blindly following rules or mimicking incomprehensible idioms, but by gaining a deep understanding of the technical reasons why they make sense.