Skip to main content

Reading and Writing Code

  • Chapter
The Philosophy of Software
  • 590 Accesses

Abstract

So far I have discussed the difficultly of understanding code and software, and how it is important to link together the materiality of code with its social practices in order to help us understand it. One of the biggest problems with trying to understand code is finding the right kinds of examples to illustrate this discussion so here I will present some examples of code that will make the code more visible and show why reading code is useful. Across the Internet, there are now countless code snippets and repositories containing sample code that demonstrate everything from ‘Hello, world!’, traditionally the first programming example taught in computer science, to complex database management systems, or even complete operating systems, like Gnu/Linux. Whilst I do want to stress the importance of connecting the dots associated with code and software, I also want to avoid a tedious programming lesson in what can soon become a rather dry subject of discussion. For that reason, I have tried to pick examples that will be either immediately clear as a demonstration of the point I wish to make, or else interesting in their own right. Secondly, I have tried to be clear that when one is discussing code one should be aware that snippets of code can be difficult to understand when taken out of context and often require the surrounding documentation to make sense of it.

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
Hardcover Book
USD 54.99
Price excludes VAT (USA)
  • Durable hardcover 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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Copyright information

© 2011 David M. Berry

About this chapter

Cite this chapter

Berry, D.M. (2011). Reading and Writing Code. In: The Philosophy of Software. Palgrave Macmillan, London. https://doi.org/10.1057/9780230306479_3

Download citation

Publish with us

Policies and ethics