From the course: Agile Software Development: Clean Coding Practices

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Why clean formatting matters

Why clean formatting matters

From the course: Agile Software Development: Clean Coding Practices

Start my 1-month free trial

Why clean formatting matters

- [Instructor] Who is the primary audience of the code that you're writing? You might be tempted to answer the primary audience is the language compiler or interpreter because that's the computer program that reads your code and turns it into a format that the computer can execute. But you'd be wrong. To see why, let's reframe that question. Who is going to change your code in the future to either add a feature or fix a bug? The answer here is clear. That's going to be either something that you do or another person on your team does or a person who you haven't even met yet, someone who will work on your code years from now. Those people are the primary audience for the code that you write. They will have to read what you've written, and they will need to understand it well enough for them to make changes. The choices that you make when formatting your code impact how readable it is. In many programming languages,…

Contents