97 Things Every Programmer Should Know by Collective Wisdom from the Experts
Author:Collective Wisdom from the Experts
Language: eng
Format: epub
Tags: COMPUTERS / Programming / General
ISBN: 9780596809508
Publisher: O'Reilly Media
Published: 2010-02-04T16:00:00+00:00
Chapter 63. Own (and Refactor) the Build
Steve Berczuk
IT IS NOT UNCOMMON for teams that are otherwise highly disciplined about coding practices to neglect build scripts, either out of a belief that they are merely an unimportant detail or from a fear that they are complex and need to be tended to by the cult of release engineering. Unmaintainable build scripts with duplication and errors cause problems of the same magnitude as those in poorly factored code.
One rationale for why disciplined, skilled developers treat the build as something secondary to their work is that build scripts are often written in a different language than source code. Another is that the build is not really "code." These justifications fly in the face of the reality that most software developers enjoy learning new languages, and that the build is what creates executable artifacts for developers and end users to test and run. The code is useless without being built, and the build is what defines the component architecture of the application. The build is an essential part of the development process, and decisions about the build process can make the code and the coding simpler.
Build scripts written using the wrong idioms are difficult to maintain and, more significantly, improve. It is worth spending some time to understand the right way to make a change. Bugs can appear when an application is built with the wrong version of a dependency or when a build-time configuration is wrong.
Traditionally, testing has been something that was always left to the "Quality Assurance" team. We now realize that testing as we code is necessary to being able to deliver value predictably. In much the same way, the build process needs to be owned by the development team.
Understanding the build can simplify the entire development lifecycle and reduce costs. A simple-to-execute build allows a new developer to get started quickly and easily. Automating configuration in the build can enable you to get consistent results when multiple people are working on a project, avoiding an "it works for me" conversation. Many build tools allow you to run reports on code quality, allowing you to sense potential problems early. By spending time understanding how to make the build yours, you can help yourself and everyone else on your team. You can focus on coding features, benefiting your stakeholders and making work more enjoyable.
Learn enough of your build process to know when and how to make changes. Build scripts are code. They are too important to be left to someone else, if for no other reason than because the application is not complete until it is built. The job of programming is not complete until we have delivered working software.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Exploring Deepfakes by Bryan Lyon and Matt Tora(6586)
Robo-Advisor with Python by Aki Ranin(6513)
Offensive Shellcode from Scratch by Rishalin Pillay(5482)
Ego Is the Enemy by Ryan Holiday(4647)
Management Strategies for the Cloud Revolution: How Cloud Computing Is Transforming Business and Why You Can't Afford to Be Left Behind by Charles Babcock(4323)
Microsoft 365 and SharePoint Online Cookbook by Gaurav Mahajan Sudeep Ghatak Nate Chamberlain Scott Brewster(3914)
Python for ArcGIS Pro by Silas Toms Bill Parker(3575)
Elevating React Web Development with Gatsby by Samuel Larsen-Disney(3287)
Learning C# by Developing Games with Unity 2021 by Harrison Ferrone(3156)
Speed Up Your Python with Rust by Maxwell Flitton(3108)
OPNsense Beginner to Professional by Julio Cesar Bueno de Camargo(3086)
Liar's Poker by Michael Lewis(3069)
Extreme DAX by Michiel Rozema & Henk Vlootman(3057)
Agile Security Operations by Hinne Hettema(3021)
Linux Command Line and Shell Scripting Techniques by Vedran Dakic and Jasmin Redzepagic(3007)
Essential Cryptography for JavaScript Developers by Alessandro Segala(2979)
Machine Learning at Scale with H2O by Gregory Keys | David Whiting(2945)
Cryptography Algorithms by Massimo Bertaccini(2889)
AI-Powered Commerce by Andy Pandharikar & Frederik Bussler(2873)
