On building great software
There are some that have strong opinions, loosely held. There are others that just have strong opinions. This site is dedicated to the latter.
- Read the language specification
- Write generic code
- Write CSS
- Write HTML
- Write SQL
- Favor immutable objects
- Use exceptions for exceptional conditions
- Favor standard exceptions
- Render server side first
- Avoid globals and constants
- Avoid named environments or profiles
- Avoid object–relational mapping libraries
- Avoid starters
- Avoid large frameworks
- Favor loosely coupling, high cohesion
- Favor replaceability
- Favor one repository
- Write fast tests
- Write isolated tests
- Write tests first
- Write tests using local services
- Test against a real database
- Test against a real queue
- Test against a real cache
- Use fakes
- Avoid mocks
- Avoid nested tests
- Avoid testing with implementation code
- Avoid locking
- Avoid sleeping
- Avoid code coverage tools
- Avoid behavior driven development
- Refactor ruthlessly
- Fail builds after a few minutes
- Integrate continuously
- Commit to main daily
- Fix broken builds within minutes
- Ship, show, ask
- Practice refinement reviews
- Iterate in production, not to production
- Write small stories
- Work on one story at a time
- Work a story through completion or restart later
- Practice card, conversation, and confirmation
- Deploy on-demand
- Deploy within minutes
- Avoid pull requests
- Embrace architecture
- Practice simple design
- Spend time in naming
- Spend time in organization
- Avoid circular dependencies
- Avoid waiting until the last responsible moment
- Reconsider microservices
- Avoid easy
- Practice collective ownership
- Teach great practices and build great software!