Framework for getting out of complacency & Writing great PRs
swecareer.substack.com
Curtis Einsmann wrote a twitter thread on how he improved his PRs over time. I loved the thought he put in to it. He starts by saying that he understands why code quality matters. The main reason is that code is read mostly my humans and therefore it behooves us to keep quality high such that code we write is easily maintainable. He takes on small tasks. Meaning that he breaks up large PRs into smaller and easily reviewable PRs. He invests time up front to ensure his local development environment is ready to code effectively. This may not be super relevant to smaller companies, but at larger companies it might be possible that one week you are writing code in the Java repo and the next week you might be writing code in a Go repo. Important to spend time to make sure the local dev env is setup appropriately. He reads the existing code - this felt closest to my heart. Whenever I need to write some code, I first search for existing patterns, not just in my code base but elsewhere as well. This has helped me numerous times. He talks about planning his code. One thing I have found useful is to write a 1-pager before making any change that might be controversial or might have multiple ways of attempting it. It has always helped to plan ahead.
Framework for getting out of complacency & Writing great PRs
Framework for getting out of complacency …
Framework for getting out of complacency & Writing great PRs
Curtis Einsmann wrote a twitter thread on how he improved his PRs over time. I loved the thought he put in to it. He starts by saying that he understands why code quality matters. The main reason is that code is read mostly my humans and therefore it behooves us to keep quality high such that code we write is easily maintainable. He takes on small tasks. Meaning that he breaks up large PRs into smaller and easily reviewable PRs. He invests time up front to ensure his local development environment is ready to code effectively. This may not be super relevant to smaller companies, but at larger companies it might be possible that one week you are writing code in the Java repo and the next week you might be writing code in a Go repo. Important to spend time to make sure the local dev env is setup appropriately. He reads the existing code - this felt closest to my heart. Whenever I need to write some code, I first search for existing patterns, not just in my code base but elsewhere as well. This has helped me numerous times. He talks about planning his code. One thing I have found useful is to write a 1-pager before making any change that might be controversial or might have multiple ways of attempting it. It has always helped to plan ahead.