توضیحات
Improve your coding skills and learn how to write readable code. Rather than teach basic programming, this book presumes that readers understand the fundamentals, and offers time-honed best practices for style, design, documenting, testing, refactoring, and more. Taking an informal, conversational tone, author Michael Stueben offers programming stories, anecdotes, observations, advice, tricks, examples, and challenges based on his 38 years experience writing code and teaching programming classes. Trying to teach style to beginners is notoriously difficult and can easily appear pedantic. Instead, this book offers solutions and many examples to back up his ideas. Good Habits for Great Coding distills Stueben’s three decades of analyzing his own mistakes, analyzing student mistakes, searching for problems that teach lessons, and searching for simple examples to illustrate complex ideas. Having found that most learn by trying out challenging problems, and reflecting on them, each chapter includes quizzes and problems in each chapter. The final chapter introduces dynamic programming to reduce complex problems to subcases, and illustrates many concepts discussed in the book. Code samples are provided in Python and designed to be understandable by readers familiar with any modern programming language. At the end of this book, you will have acquired a lifetime of good coding advice; the lessons the author wishes he had learned when he was a novice. Read more…
Abstract: Improve your coding skills and learn how to write readable code. Rather than teach basic programming, this book presumes that readers understand the fundamentals, and offers time-honed best practices for style, design, documenting, testing, refactoring, and more. Taking an informal, conversational tone, author Michael Stueben offers programming stories, anecdotes, observations, advice, tricks, examples, and challenges based on his 38 years experience writing code and teaching programming classes. Trying to teach style to beginners is notoriously difficult and can easily appear pedantic. Instead, this book offers solutions and many examples to back up his ideas. Good Habits for Great Coding distills Stueben’s three decades of analyzing his own mistakes, analyzing student mistakes, searching for problems that teach lessons, and searching for simple examples to illustrate complex ideas. Having found that most learn by trying out challenging problems, and reflecting on them, each chapter includes quizzes and problems in each chapter. The final chapter introduces dynamic programming to reduce complex problems to subcases, and illustrates many concepts discussed in the book. Code samples are provided in Python and designed to be understandable by readers familiar with any modern programming language. At the end of this book, you will have acquired a lifetime of good coding advice; the lessons the author wishes he had learned when he was a novice
مهارت های کدنویسی خود را بهبود بخشید و یاد بگیرید که چگونه کدهای خوانا بنویسید. این کتاب بهجای آموزش برنامهنویسی پایه، فرض میکند که خوانندگان اصول را درک میکنند، و بهترین شیوهها را برای سبک، طراحی، مستندسازی، آزمایش، بازسازی و غیره ارائه میدهد. مایکل استوبن، نویسنده، با لحنی غیررسمی و محاورهای، داستانهای برنامهنویسی، حکایات، مشاهدات، توصیهها، ترفندها، مثالها و چالشهای را بر اساس تجربه 38 ساله خود در نوشتن کد ارائه میکند. و تدریس کلاس های برنامه نویسی تلاش برای آموزش سبک به مبتدیان بسیار دشوار است و می تواند به راحتی به نظر برسد. در عوض، این کتاب راهحلها و مثالهای زیادی را برای پشتیبانی از ایدههای او ارائه میکند. عادتهای خوب برای کدنویسی عالی، سه دهه استوبن را در تجزیه و تحلیل اشتباهات خود، تجزیه و تحلیل اشتباهات دانشآموزان، جستجوی مسائلی که درسها را آموزش میدهند، و جستجوی مثالهای ساده برای نشان دادن ایدههای پیچیده، نشان میدهد. با توجه به اینکه اکثر آنها با امتحان کردن مسائل چالش برانگیز و تأمل در آنها یاد می گیرند، هر فصل شامل آزمون ها و مسائل در هر فصل است. فصل آخر برنامهنویسی پویا را برای کاهش مسائل پیچیده به موارد فرعی معرفی میکند و بسیاری از مفاهیم مورد بحث در کتاب را نشان میدهد. نمونه کد در پایتون ارائه شده و برای خوانندگان آشنا با هر زبان برنامه نویسی مدرن قابل درک است. در پایان این کتاب، شما یک عمر مشاوره کدنویسی خوب را به دست خواهید آورد. درس هایی که نویسنده آرزو می کند در زمانی که تازه کار بود یاد می گرفت. بیشتر بخوانید…
نقد و بررسیها
هنوز بررسیای ثبت نشده است.