Skip to content

Commit f72a182

Browse files
committed
wrote 3/5 of chapter 0 paragraph 5
1 parent 3c8bebd commit f72a182

File tree

3 files changed

+31
-17
lines changed

3 files changed

+31
-17
lines changed

chapter/text0.md

Lines changed: 29 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11

2+
23
[Chapter 0](../table-of-content.md)
34
===================================
45

@@ -9,6 +10,7 @@
910
* [Perl philosophy](#perl-philosophy)
1011
* [basic syntax rules](#basic-syntax-rules)
1112
* [first tiny example: hello math !](#first-example)
13+
* [what app to build](#what-app-to-build)
1214

1315

1416

@@ -103,30 +105,31 @@ and for reflection.
103105
-----------------------------
104106

105107
The big banner of Perl was always TIMTOWDTI: There Is More Than One Way To Do It!
106-
This means that Larry Wall is smart enough to realize, that he is not smart enough
107-
to make all decisions for you in advance and that providing choice is a good thing.
108-
But good choices are based on lots of thought and/or experience.
109-
That means: you as a person and your views are taken seriously.
110-
You get treated as an adult. But sometimes you have to be an adult
111-
(programming wise) to use Perls enormous power wisely.
112-
113-
One way Perl 6 differs greatly from Perl 5: it supplies better training wheels.
114-
Meaning: the usual matters are straight forward. Even the second slogan was
115-
also always: "Keep easy stuff easy" - a lot of improvements were done in this field.
116-
On one hand in requiring less knowledge and fumbling for some common operations.
117-
On the other hand in delivering an outrageously unsuspicious syntax and keeping
118-
our perlish specialties as the other option in the backyard (TIMTOWTDI).
108+
This means that Larry Wall was smart enough to realize, that it is impossible to
109+
forsee all situations you may encounter. Therefore providing choice is a good thing.
110+
But good choices are based on lots of thought and/or experience. That means:
111+
your views are taken seriously. You get treated as an adult. But sometimes you
112+
have to mature (programming wise) to use Perls enormous power wisely.
113+
114+
One way Perl 6 differs greatly from Perl 5: it has better training wheels.
115+
Even the second slogan went already: "Keep the easy stuff easy" - a lot of
116+
improvements were done in this field. Every day matters require less knowledge
117+
and fumbling and the necessary commands are named very straight forward.
118+
Special cases were eliminated ruthlessly and replaced with recurring principles.
119119

120120
However the full sentence goes: "Keep the easy stuff easy and hard possible."
121-
121+
All the heavy weapons are still there and some new, more powerful ones.
122+
It includes full access to the internals to mold Perl 6 into whatever can imagine.
123+
As a safeguard many of these possibilities need some extra wording and a syntax,
124+
that is signaling its harmful potential.
122125

123126

124127
----
125128
!!! from here on the text is in raw state !!!
126129
----
127130

128131
natural language
129-
132+
waterbed
130133

131134

132135
[Basic Syntax Rules](#chapter-0)
@@ -137,6 +140,7 @@ semicolon
137140
braces
138141

139142

143+
140144
[First Example](#chapter-0)
141145
--------------------------
142146

@@ -148,6 +152,16 @@ not explaining details
148152

149153

150154

155+
[What App To Build](#chapter-0)
156+
---------------------------
157+
158+
useful
159+
textinfo age
160+
keep organized
161+
multi purpose
162+
163+
164+
151165
[^chapter start^](#chapter-0)
152166

153167
[^^table of content^^](../table-of-content.md)

chapter/text1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* [scalar variables](#scalar-variables)
88
* file IO: `slurp`, `spurt` and test op
99
* shell IO: `say`, `prompt`
10-
* conditionals: `if`, `elsif`, `else` and as statement modifier
10+
* conditionals: `if`, `elsif`, `else`, as statement modifier too
1111
* comparison ops (`>`, `eq`)
1212
* single ('') and double ("") quoting
1313
* string context and concatenation `~`

table-of-content.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
+ [Chapter 0](/chapter/text0.md) ..................... [Main Program](/chapter/bn0.pl6)
44
- [goals](/chapter/text0.md#goals) - [methods](/chapter/text0.md#teaching-method) - [layout](/chapter/text0.md#chapter-layout) - [prerequisites](/chapter/text0.md#prerequisites)
5-
- [Perl philosophy](/chapter/text0.md#perl-philosophy) - [basic syntax rules](/chapter/text0.md#basic-syntax-rules) - [first tiny example: hello math !](/chapter/text0.md#first-example)
5+
- [Perl philosophy](/chapter/text0.md#perl-philosophy) - [basic syntax](/chapter/text0.md#basic-syntax-rules) - [tiny example](/chapter/text0.md#first-example) - [built app](/chapter/text0.md#what-app-to-build)
66
+ [Chapter 1](/chapter/text1.md) ..................... [Main Program](/chapter/bn1.pl6)
77
+ [Chapter 2](/chapter/text2.md) ..................... [Main Program](/chapter/bn2.pl6)
88
+ [Chapter 3](/chapter/text3.md) ..................... [Main Program](/chapter/bn3.pl6)

0 commit comments

Comments
 (0)