Skip to content

Commit a36b3b8

Browse files
committed
polish and reorder
1 parent daf5af9 commit a36b3b8

File tree

2 files changed

+45
-34
lines changed

2 files changed

+45
-34
lines changed

Diff for: chapter/text0.md

+43-32
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66

77
* [goals](#goals) and [methods](#teaching-method)
8-
* [chapter layout](#chapter-layout)
98
* [what app to build](#what-app-to-build)
9+
* [chapter layout](#chapter-layout)
1010
* [prerequisites](#prerequisites)
1111
* [Perl philosophy](#perl-philosophy)
1212
* [basic syntax rules](#basic-syntax-rules)
@@ -21,10 +21,10 @@ Welcome,
2121
to this hands on tour through the more often needed parts of this vast and
2222
beautiful programming language. You can find here:
2323

24-
- syntax knowledge:
25-
- bits of deeper understanding for the design decisions:
26-
- room for own experiments:
27-
- a hopefully useful application:
24+
- syntax knowledge
25+
- bits of deeper understanding for the design decisions
26+
- room for own experiments
27+
- a hopefully useful application
2828
- a taste of the full capabilities of Perl 6
2929
- sources for further learning (docs and more)
3030

@@ -52,47 +52,52 @@ favorite learning style. Rereading a chapter after that also clarifies a lot.
5252
When an explanation still doesn't makes sense to you - please let us know via github.
5353

5454
The flip side of this practical, yet dense approach: you (mostly) have to stick
55-
with the given order and won't be able to skip even several sentences.
56-
Because then you overlook the introduction of an important feature, which will be
57-
premised over and over. This is especially true during chapter 2-6 and an inevitable
55+
with the given order and won't be able to skip even several sentences without
56+
risking to miss the introduction of an important feature, which will be premised
57+
over and over. This is especially true during chapter 2-6 and an inevitable
5858
side effect of developing one example program throughout the whole tutorial.
5959
While we strongly recommend to adapt it to your wishes, you should be be aware,
60-
that maintaining them through all changes can be a demanding task.
60+
that maintaining your modifications through the chapter can be a demanding task.
61+
62+
63+
64+
[What App To Build](#chapter-0)
65+
-------------------------------
66+
What program could be valuable to many and highlights Perls strengths?
67+
68+
----
69+
!!! from here on the text is in raw state !!!
70+
----
71+
72+
useful
73+
textinfo age
74+
keep organized
75+
multi purpose
6176

6277

6378

6479
[Chapter Layout](#chapter-0)
65-
--------------------------
80+
----------------------------
6681

67-
The practical needs of the growing application did sometimes overrule the
68-
educational intents of the author. Nonetheless there is a golden thread
69-
and the menu (table of contents) as the index as well show where to find what.
82+
The practical needs of the growing application shaped the content and ordering
83+
of the chapter, sometimes even overruling the educational intents of the author.
84+
Nonetheless there is a golden thread and the menu (table of contents) as the
85+
index show where to find what.
7086

71-
Every chapter has a main topic and several (mostly 6) (often related) subtopics.
87+
Every chapter has a main topic and several (mostly 6), often related subtopics.
7288
Together they allow to bring the program to a new stage, introducing a new
7389
feature set or a new style of programming. The source code in each stage is
74-
included (see table of content). Number in file names refer to a chapter.
90+
included (see table of content). Numbers in file names refer to a chapter.
7591

7692
Each chapter has several paragraphs. They correspond to the subheadings in the table
77-
of content and covers only a single command, operator or another language feature.
93+
of content and cover only a single command, operator or another language feature.
7894
Usually they have just the right length to be read in 5 to 10 minutes.
79-
After that the tutorial can be easily put aside - to practice the new knowledge
80-
or to leave the train.
95+
After that the tutorial can be easily put aside.
8196

8297
Chapters are also optimized for reading them in one swoop. The first paragraph(s)
8398
are commonly an easy read - a warm up to get accustomed to the topic.
84-
The most challenging part is in the middle, while the end serves as a fade out
85-
and for reflection.
86-
87-
88-
89-
[What App To Build](#chapter-0)
90-
---------------------------
91-
92-
useful
93-
textinfo age
94-
keep organized
95-
multi purpose
99+
The most challenging part is iusually n the middle, while the end serves as a
100+
fade out and for recap.
96101

97102

98103

@@ -162,15 +167,20 @@ way you do the rest of the day.
162167

163168
[Basic Syntax Rules](#chapter-0)
164169
--------------------------------
170+
Mostly under Unix type operating systems like Linux, Irix, MaxOS and BSD you
171+
can call text files like binary programs.
165172

173+
Every Perl 6 program starts
166174
----
167175
!!! from here on the text is in raw state !!!
168176
----
177+
#!/path/to/perl6
169178
`use v6;`
170-
171-
white space
179+
new line
172180
semicolon
181+
white space
173182
braces
183+
slashes
174184

175185

176186

@@ -184,6 +194,7 @@ not explaining details
184194

185195
`say slurp $?FILE;`
186196

197+
187198
[^chapter start^](#chapter-0)
188199

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

Diff for: table-of-content.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#Perl 6 for problem solver
22

33
+ [Chapter 0](/chapter/text0.md) ..................... [Main Program](/chapter/bn0.pl6), [Selfprinter](/chapter/self0.pl6)
4-
- [goals](/chapter/text0.md#goals) - [methods](/chapter/text0.md#teaching-method) - [layout](/chapter/text0.md#chapter-layout) - [built app](/chapter/text0.md#what-app-to-build) - [prerequisites](/chapter/text0.md#prerequisites)
4+
- [goals](/chapter/text0.md#goals) - [methods](/chapter/text0.md#teaching-method) - [built app](/chapter/text0.md#what-app-to-build) - [layout](/chapter/text0.md#chapter-layout) - [prerequisites](/chapter/text0.md#prerequisites)
55
- [Perl philosophy](/chapter/text0.md#perl-philosophy) - [basic syntax](/chapter/text0.md#basic-syntax-rules) - [first example](/chapter/text0.md#first-example)
66
+ [Chapter 1](/chapter/text1.md) ..................... [Main Program](/chapter/bn1.pl6)
77
- scalars - quoting - tilde - shell IO - file IO - conditionals - comparison - exit
@@ -16,7 +16,7 @@
1616
+ Chapter 10
1717
+ Chapter 11
1818
+ Chapter 12
19-
19+
2020

2121

2222

0 commit comments

Comments
 (0)