1.1 What is software build
The word "build", beyond the realm of software, is what we think of as the work of "construction workers" in building a house, a school, or even a skyscraper.
If developing software is like writing a Hello world, or as simple as writing a arithmetic calculator, you don't need to build it, just write what you want. But if you want to develop an operating system, or a financial system, or a medical system, you have to build it well. Over the past 25 years, researchers have recognized various activities in the software development process:
- Defining issues
- Demand analysis
- Planning and building
- Software architecture, or high-level design
- Detailed design
- Coding and debugging
- Unit Test
- Integration Testing
- Integration
- System Testing
- Guaranteed Maintenance
In a deeper thought, placing the build activity in an environment composed of other activities helps to focus on the right tasks during the "build" and also helps to properly emphasize those important "non-building activities". Shows the status of the build activity relative to other software development activities.
, the build activity is represented by a blue ellipse, and the build activity focuses on coding and debugging, but also includes detailed design, unit testing, integration testing, and other activities.
Follow the details of the build, which lists some of the specific tasks in the build activity:
- Verify that the underlying work has been completed so that the build activity can go on smoothly
- Determine how to test the code you write
- Designing and writing classes and subroutines
- Create and name variables and named constants (named constant)
- Select control results, organize statement blocks
- Unit testing and integration testing of your code and troubleshooting errors
- Review the underlying design and code of other members of the development team and have them review your work
- Retouch code, carefully format and annotate code
- Integration of multiple software components developed separately
- Adjust your code to make it faster and more resource-saving
In addition, there are important non-building activities, such as management, requirements analysis, software architecture design, user interface design, system testing, and maintenance.
1.2 Why software construction is so important
- build activity is the main component of software development the proportion of building activities in the overall software development activity is typically between 30% and 80%.
- Focus your major experience on building activities that can greatly increase programmer productivity
- The product source code for the build activity is often the only exact description of the software
- build activity is the only thing that ensures that it will be done if you skip the stage of demand and design and jump into the construction process, but then because there are too many errors to be corrected and the incident is not enough, the testing process has been run to the side, the final mess, seriously reduced efficiency, resulting in project extension. If you follow the construction process strictly, the project will be organized and the work can be ensured.
Code Daquan 2 Notes-Welcome to the world of software building