forked from IoLanguage/iolanguage.org
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdesign.html
75 lines (75 loc) · 2.37 KB
/
design.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<title>Core Programming Language – Design</title>
<link rel="stylesheet" href="css/base.css">
</head>
<body>
<div class="container leftSpace">
<header>
<div class="pageHeader">
<div class="topSpace"></div>
<div class="pageTitle"><a href=".">Core</a></div>
<div class="pageSubtitle"> / design </div>
</div>
</header>
<main>
<section>
<blockquote>
<p>
Ich sprach: Was soll das Wort mir frommen?<br>
Der Weise muß zu den Toren gehn,<br>
Sonst würde die Weisheit verlorengehn,<br>
Da Toren nie zum Weisen kommen.
</p>
<cite>– Friedrich von Bodenstedt: Die Lieder des Mirza-Schaffy</cite>
</blockquote>
</section>
<section>
<h4>simplicity</h4>
<p>
Some believe that adding features improves a language.<br>
This is not a language for those.
</p>
<p>
In a world in which languages add features<br>
until they collapse under their own weight,<br>
build a language that is content with itself.
</p>
</section>
<section>
<h4>consistency</h4>
<div>
"Always rules" are better than <a href="https://matklad.github.io/2022/07/10/almost-rules.html" class="link-hidden">"almost rules"</a>:<br>
<ul class="no-bullet-points">
<li><code> . </code> selects</li>
<li><code> = </code> assigns</li>
<li><code> : </code> ascribes</li>
<li><code> @ </code> annotates</li>
<li><code>() </code> encloses terms</li>
<li><code>[] </code> encloses types</li>
</ul>
</div>
</section>
<section>
<h4>compatibility</h4>
<p>
Spend the engineering effort to make the language amenable for change,<br>
instead of making ossification a forgone conclusion.
</p>
<p>
The least painful time for a breaking change is now.
</p>
</section>
<section>
<h4>performance</h4>
<p>
The language is designed to allow an implementation that is fast and efficient.<br>
There are no language features that introduce a slow-path.
</p>
</section>
</main>
</div>
</body>
</html>