Skip to content

Commit 68295c8

Browse files
committed
Doc updates
1 parent 4885471 commit 68295c8

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

resources/md/intro.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ Once you have edit access to an empty server directory, create an `index.html` f
1616
1717
<body>
1818
19-
<pre id="easycoder-script" style="display:none">
19+
<div id="easycoder-script" style="display:none">
2020
2121
alert `Hello, world!`
2222
23-
</pre>
23+
</div>
2424
2525
</body>
2626
</html>
@@ -30,7 +30,7 @@ If all is well, when you type the URL of the site into your browser the message
3030

3131
The upper half of the file is the _HEAD_ of the document. In here is a call to load the ~ec~ JavaScript engine that we'll be using instead of regular JavaScript. It's called from a _Content Delivery Network_ that takes files from the main source-code repository for ~ec~. Don't worry if this is all a bit too technical; it's not necessary to understand in order to use it.
3232

33-
The lower half of the file is the _BODY_ of the document, which contains everything your users are going to see. This example, being as simple as you can get, has a single element, a preformatted (`<pre>`) element, inside which is the 1-line script that displays the popup message you just saw. ~ec~ scripts look a lot like English, and like human languages they use very few symbols. It's very easy to learn the basics and whatever you write always goes inside the `<pre>` element we see here.
33+
The lower half of the file is the _BODY_ of the document, which contains everything your users are going to see. This example, being as simple as you can get, has a single element, a `<div>` element inside which is the 1-line script that displays the popup message you just saw. ~ec~ scripts look a lot like English, and like human languages they use very few symbols. It's very easy to learn the basics and whatever you write always goes inside the `<div>` element we see here.
3434

3535
Now open `index.html` into your editor. This is the file we'll be using for this short demo. Replace the existing `<body>...</body>` section with the following:
3636

resources/md/technical.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ By imposing structure we aim to reduce the opportunity for coding errors to be m
88

99
At ~ec~ we take issue with this claim, for the following reasons:
1010

11-
1. Frameworks greatly add to the size of the code base, and a primary rule of programming is that the more code you have the more places there are for bugs to hide.
12-
1311
1. Frameworks reduce the scope for ingenuity, seeking to eliminate errors from the outset by reducing all programming effort to a simple process of following rules that relies more on learning the structure than on thinking about problems and solutions.
1412

1513
1. Rather than imposing a straitjacket on developers, large monolithic systems should wherever possible be broken down into smaller units that work in cooperation with each other and are maintained independently - the classic "black box" approach. Each unit can use different design choices, depending on the job being done and the skills available to construct it.

0 commit comments

Comments
 (0)