Skip to content

Commit 80be9e0

Browse files
committed
completed paragraph 5 chapter 0
1 parent 6c85e5f commit 80be9e0

File tree

1 file changed

+34
-12
lines changed

1 file changed

+34
-12
lines changed

chapter/text0.md

Lines changed: 34 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -105,36 +105,58 @@ and for reflection.
105105
-----------------------------
106106

107107
The big banner of Perl was always TIMTOWDTI: There Is More Than One Way To Do It!
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.
108+
Larry Wall realized: it is impossible to forsee all situations you may encounter.
109+
Therefore providing overlapping choices how to solve your issue is a good thing.
110110
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.
111+
You get treated as an adult (your views are taken seriously) and you have to act
112+
as an adult (learn and consider consequences).
113113

114114
One way Perl 6 differs greatly from Perl 5: it has better training wheels.
115115
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.
116+
improvements were done in this field. Every day matters require less fumbling
117+
and knowledge and the necessary commands are named very straight forward.
118118
Special cases were eliminated ruthlessly and replaced with recurring principles.
119+
You will get surprisingly far in Perl with a very limited subset of the language.
119120

120121
However the full sentence goes: "Keep the easy stuff easy and hard possible."
121122
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+
It includes full access to many detail workings, including all the internals,
124+
allowing you to mold Perl 6 into whatever can imagine.
123125
As a safeguard many of these possibilities need some extra wording and a syntax,
124126
that is signaling its harmful potential.
125127

128+
The hardest part of the second slogan is the word "and". Main challenge for the
129+
designers was it to create a language that is very supportive and forgiving to
130+
beginners and yet at the same time not dumbed down, but powerful and expressive.
131+
As we know from experience: pushing a dent into a waterbed, makes the water just
132+
bulge all other places. Analogous: if you forbid komplex commands, your program
133+
gets complex in different ways, if its the nature of the problem you try to solve.
134+
For instance: we could forbid power an multiplication and reduce "2 to the power
135+
of 2" into 2 + 2. Nice and simple. But reducing "27 to the power of 9" into sums -
136+
you easily loose overview and get trapped in wearing and repetitive tasks.
137+
So it actually helps you to write easy to to understand code if you take your time,
138+
learning what power is.
126139

127-
----
128-
!!! from here on the text is in raw state !!!
129-
----
140+
The creator of Perl believe in the joy of experimenting and learning and that
141+
programming can be a vocation, a work of love which is only if fulfilling,
142+
if your free to follow you intuition and also the desire when to learn what.
143+
144+
Being a fusion of passion and logic - Perl 6 employs inwardly many principles
145+
and concepts from computer science. On the outside, however, it appears almost
146+
like a human language. It not only borrows many words from simple English like
147+
use, do, whenever, take ... and so forth, it also tries to get the use and feel
148+
of a natural language - allowing you to express yourself to the computer in the
149+
way you do the rest of the day.
130150

131-
natural language
132-
waterbed
133151

134152

135153
[Basic Syntax Rules](#chapter-0)
136154
--------------------------------
137155

156+
----
157+
!!! from here on the text is in raw state !!!
158+
----
159+
138160
white space
139161
semicolon
140162
braces

0 commit comments

Comments
 (0)