From the course: Agile Software Development: Extreme Programming
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Code standards and collective code ownership
From the course: Agile Software Development: Extreme Programming
Code standards and collective code ownership
- When I first started working as a software developer, I thought I knew everything. I wrote decent code. I wrote tests to prove that the code worked. And I thought my coding style was perfect. The way I positioned parentheses and squigly braces looked just right. The way I used horizontal and vertical white space was great. The way I capitalized variables and function names, amazing. But everybody else in the company hated my code. The first thing they would do was re format it to fix the white space and the positioning of things. Then they would fix the way I had named functions and variables. It drove me crazy to go back to my code and see it formatted differently. Later, when I adopted pair programming with my friend Oliver, even though we had slightly different individual coding styles, we quickly agreed on a style and conventions of the code we were writing together. It only took a day or two to get that out of the way. And then we could focus on writing great software together.…