Craft Your Code: With small ideas, simple tools, and techniques that make a BIG difference
- Length: 201 pages
- Edition: 1
- Language: English
- Publisher: Leanpub
- Publication Date: 2021-03-22
- Sales Rank: #0 (See Top 100 Books)
A computer program is written once and read many times! According to a study, the 10 to 1 rule of writing and programming, good software and good writing requires every line to be rewritten, on an average of 10 times. This book aims at stepping up your programming skills. It is a challenge to let other developers understand your code!
Over the years,
- Hardware has become cheaper
- Since the year 2000, 70+ programming languages with many new features, have been invented
- The number of developers and companies have multiplied
- New IDEs with hot features have been created
- Existing IDEs have become more powerful
- Many developers write useful extensions to IDEs
All said and done, the cost of software development hasn’t come down! Poor code quality results in defects and increases the cost of software development and maintenance. Read this book and find the practical solutions!
In “Craft Your Code” Srihari Sridharan shares his experience writing cleaner and maintainable code in a polyglot programming environment.
You will learn:
- To write clear and concise code
- To simplify loops and logic
- To apply concepts in functional and object-oriented programming
- To divide and conquer subproblems
- To favor loose coupling and high cohesion, as you write code
- To continuously monitor code quality
- To write sustainable unit tests
- To write more maintainable code
- To review code
- To use feature toggles and make your code cleaner
- To write clean, concurrent and asynchronous code
The examples in this book will be in C# ( in the context of .NET), JavaScript (ES5 and ES6 in the context of Node.js and browser), TypeScript, Go, CSS and HTML. These concepts and solutions are applicable, to any programming language (Java, Clojure, Scala, Python, Perl, etc.)
This book came to life from series of technical talks on “Code Quality” in various organizations.
Title Page Table of Contents Preface Acknowledgements About the Author Introduction Part I Quick Wins Chapter 1: Importance of Coding Standards Chapter 2: Names - Pack a Punch Chapter 3: Importance of Aesthetics Chapter 4: Value of Comments Chapter 5: Control Flow - KISS Part II Handling Loops and Logic Chapter 6: Tackling Giant Expressions Chapter 7: Improving Readability Chapter 8: The Law of Demeter Chapter 9: Functional Programming Chapter 10: Object-Oriented Programming Part III Refactoring and Reorganizing Code Chapter 11: Divide and Conquer Sub Problems Chapter 12: Tackle One Responsibility at a Time Chapter 13: A Journey from Your Mind to the IDE Chapter 14: “No Code” is the “Best Code” Chapter 15: Reviewing Code Chapter 16: Writing SOLID Code Chapter 17: Coupling and Cohesion In Action Part IV Few Important Topics Chapter 18: A Systematic Approach to Refactoring Chapter 19: Test-Driven Development Chapter 20: Sustainable Unit Tests and TDD Chapter 21: Version Control Strategies Chapter 22: Feature Toggles and Clean Code Chapter 23: Handling Technical Debt Chapter 24: Craft Your Career Architects’ Bookshelf Appendix Appendix A: What did they say? Appendix B: Code Smells Appendix C: Broken Windows Theory Appendix D: Cost of Owning Technical Debt Appendix E: Recollecting the Boys Scout Rule Appendix F: Philosophies for Effective Programming Appendix G: The 30 seconds rule explained! Appendix H Object-Oriented Programming Terminology Thank You
Donate to keep this site alive
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.