Keeping Software Soft
Keeping Software Soft
A Practical Guide for Developers, Testers, and Managers
About the Book
Software should be easy to change.
Happier, more enjoyable, and more productive software development.
Keeping Software Soft is aimed primarily at apprentice and journeyman developers.The book provides practical guidance on how to keep software as soft as we can.
Reader Comments
"...a great publication for both those just starting on a software development path and those of us who have been round for longer than we care to admit!"
"...strongly recommended it to the junior programmers working at my major contract client - as a clear overview with good examples of software development."
"...well worth the price."
ISBN
978-0-9924164-0-9 [PDF]
978-0-9924164-1-6 [EPUB]
978-0-9924164-2-3 [MOBI]
Table of Contents
-
-
About The Author
- Other Leanpub Books by Jason Roberts
- Pluralsight Courses
-
Introduction
- Why Keep Software Soft?
- Why Read This Book?
-
About The Author
-
Part 1: The Code
-
The SOLID Principles of OO Design
- The Single Responsibility Principle (SRP)
- The Open Closed Principle (OCP)
- The Liskov Substitution Principle (LSP)
- The Interface Segregation Principle (ISP)
- Dependency Inversion Principle (DIP)
-
Other Important Principles
- Keep It Simple Stupid (KISS)
- Don’t Repeat Yourself (DRY)
- You Aren’t Gonna Need It (YAGNI)
- Cohesion
- Coupling
- Law of Demeter (LoD)
-
Dependency Inversion Revisited
- Dependency Injection Containers
- An Example of Dependency Injection with Ninject
- Other Containers
- Why Use a Dependency Injection Container?
-
Some Useful Design Patterns
- Gateway
- Decorator
- Strategy
- Factory
- Chain of Responsibility
-
Readability - Writing Code for Humans
- Comments
- Naming Booleans
- Method Length
- Remove Unused Code
- Nesting
- Naming Variables and Parameters
- Whitespace
- Regions
- Magic Strings and Constants
-
An Introduction to Architectural Styles
- Client-Server
- Layered
- Message Bus
- Service Oriented Architecture
- Onion Architecture
- Event Sourcing
-
The SOLID Principles of OO Design
-
Part 2: Testing
-
An Introduction to Unit Testing with xUnit.net
- Qualities of Good Unit Tests
- Testing Frameworks
- About xUnit.net
- Using xUnit.net
- Data Driven Tests
-
Test Driven Development
- Overview
- Example
- Practicing TDD
- Why TDD?
-
Faking It - Testing Code in Isolation
- Mock, Stub, Fake, Dummy, Test Double
- An Example of Faking
-
Auto Mocking
- Introducing Auto Mocking
- More About AutoFixture
- AutoFixture and xUnit.net Custom Attributes
-
Introduction to JavaScript Unit Testing
- Introducing QUnit
- Creating and Running QUnit Tests in Visual Studio 2012
- Creating and Running QUnit Tests in HTML
-
An Introduction to Automated Functional UI Testing for Web Applications
- Record-Playback Versus Coded Automation
- An Example of Coded AFUITs Using WatiN
- The Demo Application
- Creating the First Tests
- Refactoring the Tests
- Some Other Tools
-
An Introduction to Continuous Integration with TeamCity
- Build Pipelines
- Implementing a Build Pipeline in TeamCity
- Alternative CI/Build Servers
-
A Holistic View of Testing
- Types of Testing
- The Testing Pyramid
- What and Where to Test
- Testing Legacy Applications
-
An Introduction to Unit Testing with xUnit.net
-
Part 3: People and Process
-
An Introduction to Agile Software Development
- Overview
- Agile Software Development in Practice
- Overarching Principles
-
Pair Programming and Code Reviews
- Formal Code Reviews
- Pair Programming
-
Time Management and Motivation
- Time Management
- Prioritisation With MoSCoW
- Prioritisation with Covey Quadrants
- Maintaining Energy with the Pomodoro Technique
- Maintaining Motivation with the Power of Three
-
Technical Debt
- Examples of Technical Debt
- Causes of Technical Debt
- Mindfulness of Creating Technical Debt
- Recording and Prioritising Technical Debt
- The Effect of Technical Debt on People and Organisations
-
Software Craftsmanship, Professionalism, and Personal Development
- Software Craftsmanship
- Beyond Craftsmanship - Into Professionalism
- Personal Development
-
What Programmers Want and What Your Manager Should Understand
- What Programmers Want Survey
- Challenging Work, Creative Solutions, Making a Difference
- Tools and Environment
- The Joel Test
-
An Introduction to Agile Software Development
-
Appendices
- Appendix A: Manifesto for Agile Software Development
- Appendix B: Principles behind the Agile Manifesto
- Appendix C: Testing Framework Attributes
-
Appendix D: Design Pattern List
- Creational Patterns
- Structural Patterns
- Behavioural Patterns
- Appendix E: Manifesto for Software Craftsmanship
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.
You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!
So, there's no reason not to click the Add to Cart button, is there?
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $14 millionwriting, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them