From fe8e3117c2178081e8bf68dfbe0c0e9714069483 Mon Sep 17 00:00:00 2001 From: colinlmcdonald Date: Fri, 29 Jan 2016 12:18:20 -0800 Subject: [PATCH] Update README.md Re-wrote some sentences for ease of understanding. Deleted unnecessary commas. --- basics/README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/basics/README.md b/basics/README.md index 4ed143ce..55f3e639 100644 --- a/basics/README.md +++ b/basics/README.md @@ -1,10 +1,10 @@ # Basics about Programming -In this first chapter, we'll learn the basics of programming and the Javascript language. +In this first chapter we'll learn the basics of programming and the Javascript language. -Programming means writing code. A book is made up of chapters, paragraphs, sentences, phrases, words and finally punctuation and letters, likewise a program can be broken down into smaller and smaller components. For now, the most important is a statement. A statement is analogous to a sentence in a book. On its own, it has structure and purpose, but without the context of the other statements around it, it isn't that meaningful. +Programming means writing code. A book is made up of chapters, paragraphs, sentences, phrases, words, punctuation, and letters. Likewise, a program can be broken down into smaller and smaller components. For now the most important component is a statement. A statement is analogous to a sentence in a book. On its own it has structure and purpose, but it is meaningless without the context of the other statements around it. -A statement is more casually (and commonly) known as a *line of code*. That's because statements tend to be written on individual lines. As such, programs are read from top to bottom, left to right. You might be wondering what code (also called source code) is. That happens to be a broad term which can refer to the whole of the program or the smallest part. Therefore, a line of code is simply a line of your program. +A statement is more casually (and commonly) known as a *line of code*. That's because statements tend to be written on individual lines. As such, programs can be read from top to bottom and left to right. You might be wondering what code (also called source code) is. Code is a broad term that can refer to something as large as a whole program or as small as a line in that program. For instance, a line of code is simply a line of your program. Here is a simple example: @@ -16,4 +16,5 @@ var world = "World"; var message = hello + " " + world; ``` -This code can be executed by another program called an *interpreter* that will read the code, and execute all the statements in the right order. +This code can be executed by another program called an *interpreter* that will read the code and execute all the statements in the right order. +