Автор: Srihari Sridharan
Издательство: Leanpub
Год: 2021
Формат: PDF
Страниц: 301
Размер: 34 Mb
Язык: English
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), jаvascript (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.)