Simplify writing code with deliberate commits
NOTE : Please ensure you sign up with SkillsMatter as well : https://skillsmatter.com/meetups/12278-simplifying-writing-code-with-deliberate-commits
6:30 PM : Doors open
7:00 PM : Simplify writing code with deliberate commits by Joel Chippindale
Do you ever find yourself juggling an ever growing list of things to think about when you are working on a feature? Do you find yourself losing track of what needs to be done next to make progress? If you do (and, spoiler, we all do), then this is the talk for you.
One tool that we underuse to help us keep focused and keep our work simple is our source control system.
In this talk I will outline some habits and practical techniques to apply to your local development workflow with git that can help simplify the development of software in complex, real world environments and make you a better software developer. These include
- Planning your commits
- Making atomic commits
- Writing commit messages that provide context to your decisions
-Ensuring that each of your development branches has a single purpose
- Regularly using git rebase --interactive to ensure your development branches tell a clear story about the work that you are doing
A neat side effect of these approaches is that they will give you the added bonus of well documented code that is easier for your colleagues to review and/or make sense of in future
All the examples given in this talk will use git but the principles can be applied using any source control system.
Joel Chippindale is the CTO of Unmade, a global fashion tech company.