Skip to main content

Testing and Code Quality

  • Chapter
  • First Online:
Software Engineering for Absolute Beginners
  • 2104 Accesses

Abstract

Whether the system you are working on is big or small, as mentioned in the beginning of this book, the codebase's integrity is very important. Following some basic rules, like proper naming conventions, neat code structure, and just careful coding, will have an effect on the codebase's integrity. Easy-to-read code is slightly harder to break than code that is badly structured. The easier it is to read and follow the code, the easier it becomes to make changes to it. As Harold Abelson wrote in Structure and Interpretation of Computer Programs, “Programs must be written for people to read, and only incidentally for machines to execute.” Proper naming conventions can also lead to code that will be less prone to introducing bugs than badly named variables, functions, and classes.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 16.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Nico Loubser

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Loubser, N. (2021). Testing and Code Quality. In: Software Engineering for Absolute Beginners. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-6622-9_8

Download citation

Publish with us

Policies and ethics