Jump to ratings and reviews
Rate this book

GOOD HABITS FOR GREAT CODING: IMPROVING PROGRAMMING SKILLS WITH EXAMPLES IN PYTHON [Paperback] Stueben

Rate this book
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. 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.

What You'll Learn




Create readable code through examples of good and bad style


Write difficult algorithms by comparing your code to the author's code


Derive and code difficult algorithms using dynamic programming
Understand the psychology of the coding process
Who This Book Is For
Students or novice programmers who have taken a beginning programming course and understand coding basics. Teachers will appreciate the author's road-tested ideas that they may apply to their own teaching.

Paperback

Published January 1, 2019

9 people are currently reading
29 people want to read

About the author

Michael Stueben

3 books1 follower

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
1 (8%)
4 stars
7 (58%)
3 stars
1 (8%)
2 stars
3 (25%)
1 star
0 (0%)
Displaying 1 - 3 of 3 reviews
79 reviews6 followers
January 5, 2023
This book is an easy read for what it is. It's well organized and has clear examples to support the lessons of each of the chapters (some of the examples are examples of imperfect solutions to the problem). Due to the size of the page, the code is not always written in a readable format. Additionally, it's clear that the author's experience is primarily as a teacher and the examples are mathematical in nature .
Profile Image for Ben.
2,729 reviews225 followers
February 5, 2022
This was a truly great book on improving your Python programming skills.

I already really know a lot about Python, so it wasn't a huge change, but I did learn a few little tidbits throughout the book.

Would recommend for newer Python devs.

4.1/5
Displaying 1 - 3 of 3 reviews

Can't find what you're looking for?

Get help and learn more about the design.