-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
121 lines (112 loc) · 4.34 KB
/
index.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!DOCTYPE html>
<html lang="en">
<head>
<!-- voodoo -->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<!-- basic meta -->
<title>PEP 20 ~ The Zen of Python</title>
<meta name="description" content="PEP 20 ~ The Zen of Python" />
<!-- OG -->
<meta property="og:title" content="PEP 20 ~ The Zen of Python" />
<meta property="og:url" content="http://pep20.org/" />
<meta
property="og:description"
content="pep20.org is a stylized presentation of The Zen of Python. The Zen of Python is a collection of 20 software principles (of which only 19 were written down) that influences the design of the Python Programming Language. It was written around June 1999 by Tim Peters."
/>
<meta property="og:image" content="/assets/images/pep20favicon144.gif" />
<meta property="og:image:width" content="144" />
<meta property="og:image:height" content="144" />
<!-- icons -->
<link rel="shortcut icon" href="/assets/images/pep20favicon64.gif" />
<link rel="apple-touch-icon" href="/assets/images/pep20favicon144.gif" />
<!-- stylesheets -->
<link rel="stylesheet" type="text/css" href="/assets/css/typeplate.css" />
<link rel="stylesheet" type="text/css" href="/assets/css/fonts.css" />
<link rel="stylesheet" type="text/css" href="/assets/css/style.css" />
<!-- Plausible -->
<script defer data-api="/api/event" data-domain="pep20.org" src="/js/script.js"></script>
</head>
<body>
<h1><a href="/">PEP 20</a></h1>
<h4>The Zen of Python</h4>
<h5>by Tim Peters</h5>
<hr />
<ul>
<li id="beautiful">
<a href="#beautiful">Beautiful</a> is better than ugly.
</li>
<li id="explicit">
<a href="#explicit">Explicit</a> is better than implicit.
</li>
<li id="simple"><a href="#simple">Simple</a> is better than complex.</li>
<li id="complex">
<a href="#complex">Complex</a> is better than complicated.
</li>
<li id="flat"><a href="#flat">Flat</a> is better than nested.</li>
<li id="sparse"><a href="#sparse">Sparse</a> is better than dense.</li>
<li id="readability"><a href="#readability">Readability</a> counts.</li>
<li id="special">
<a href="#special">Special</a> cases aren’t special enough to break the
rules.
</li>
<li id="practicality">
Although <a href="#practicality">practicality</a> beats purity.
</li>
<li id="errors">
<a href="#errors">Errors</a> should never pass silently.
</li>
<li id="silenced">Unless explicitly <a href="#silenced">silenced</a>.</li>
<li id="ambiguity">
In the face of <a href="#ambiguity">ambiguity</a>, refuse the temptation
to guess.
</li>
<li id="obvious">
There should be one-- and preferably only one --<a href="#obvious"
>obvious</a
>
way to do it.
</li>
<li id="dutch">
Although that way may not be obvious at first unless you’re
<a href="#dutch">Dutch</a>.
</li>
<li id="now"><a href="#now">Now</a> is better than never.</li>
<li id="never">
Although <a href="#never">never</a> is often better than
*right* now.
</li>
<li id="hard">
If the implementation is <a href="#hard">hard</a> to explain, it’s a bad
idea.
</li>
<li id="easy">
If the implementation is <a href="#easy">easy</a> to explain, it may be
a good idea.
</li>
<li id="namespaces">
<a href="#namespaces">Namespaces</a> are one honking great idea -- let’s
do more of those!
</li>
</ul>
<hr />
<p>
<a href="/">pep20.org</a> was created by
<a href="http://nkantar.com">Nik Kantar</a>.
<br />
<a href="https://www.python.org/dev/peps/pep-0020/">PEP 20</a> was written
by Tim Peters.
<br />
This site was heavily inspired by
<a href="https://www.kennethreitz.org">Kenneth Reitz</a>’s
<a href="http://pep8.org">pep8.org</a>.
<br />
The colors were inspired by
<a href="https://www.python.org/">python.org</a>, and the font is
<a href="https://github.com/tonsky/FiraCode">Fira Code</a>.
<br />
<a href="https://github.com/nkantar/pep20.org">Contributions welcome!</a>
♥
</p>
</body>
</html>