forked from yegor256/elegantobjects.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
328 lines (328 loc) · 19.8 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Elegant Objects</title>
<meta name="description" content="Object-oriented programming philosophy that refuses to use getters-and-setters, static methods, NULL references, type casting, implementation inheritance, and similar misconcepts."/>
<meta name="keywords" content="object-oriented programming, OOP, Java, Ruby, programming, elegant objects"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="shortcut icon" href="//www.yegor256.com/images/books/elegant-objects/cactus.png"/>
<link href='main.css' rel='stylesheet'/>
<meta name="twitter:image:src" content="https://www.elegantobjects.org/images/twitter-card.jpg" />
<meta name="twitter:site" content="elegantobjects.org" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Elegant Objects" />
<meta name="twitter:description" content="Object-oriented programming philosophy that refuses to use getters-and-setters, static methods, NULL references, type casting, implementation inheritance, and similar misconcepts." />
<meta property="og:image" content="https://www.elegantobjects.org/images/twitter-card.jpg" />
<meta property="og:site_name" content="Elegant Objects" />
<meta property="og:type" content="object" />
<meta property="og:title" content="Elegant Objects" />
<meta property="og:url" content="https://www.elegantobjects.org" />
<meta property="og:description" content="Object-oriented programming philosophy that refuses to use getters-and-setters, static methods, NULL references, type casting, implementation inheritance, and similar misconcepts." />
</head>
<body>
<section>
<p>
<img src="//www.yegor256.com/images/books/elegant-objects/cactus.svg" alt="EO logo" class="logo"/>
</p>
<p>
<strong>Elegant Objects</strong> (EO) is an object-oriented programming
paradigm that renounces traditional techniques like
<a href="http://www.yegor256.com/2014/05/13/why-null-is-bad.html">null</a>,
<a href="http://www.yegor256.com/2014/09/16/getters-and-setters-are-evil.html">getters-and-setters</a>,
<a href="http://www.yegor256.com/2015/05/07/ctors-must-be-code-free.html">code in constructors</a>,
<a href="http://www.yegor256.com/2014/06/09/objects-should-be-immutable.html">mutable objects</a>,
<a href="http://www.yegor256.com/2014/05/05/oop-alternative-to-utility-classes.html">static methods</a>,
<a href="http://www.yegor256.com/2016/04/12/java-annotations-are-evil.html">annotations</a>,
<a href="http://www.yegor256.com/2015/04/02/class-casting-is-anti-pattern.html">type casting</a>,
<a href="http://www.yegor256.com/2016/09/13/inheritance-is-procedural.html">implementation inheritance</a>,
<a href="http://www.yegor256.com/2016/07/06/data-transfer-object.html">data objects</a>,
<a href="http://www.yegor256.com/2014/09/10/anti-patterns-in-oop.html">etc.</a>
</p>
<p id="books">Books:</p>
<ul>
<li><a href="http://amzn.to/2BVeiNl">Object Thinking</a></li>
<li><a href="http://www.yegor256.com/elegant-objects.html">Elegant Objects</a>
(<a href="http://amzn.to/2BXdZSs">vol.1</a> and
<a href="http://amzn.to/2BuFFP4">vol.2</a>)</li>
</ul>
<p>
Telegram chats:
<a href="https://t.me/elegantobjects">@elegantobjects</a> (English) and
<a href="https://t.me/painofoop">@painofoop</a> (Russian).
</p>
<!--
<p>
Join our <a href="https://www.soalition.com/join?id=1">soalition</a> if you are ready to help.
</p>
-->
<p>
Twitter:
<a href="https://twitter.com/search?q=%23elegantobjects">#elegantobjects</a>.
</p>
<p>
Videos:
</p>
<ul>
<li><a href="https://vimeo.com/77415896">OOP is Dead! Long Live OODD!</a>
by <a href="http://davewest.us/">David West</a></li>
<li><a href="https://www.youtube.com/watch?v=cGcCcxx4xrg">Java vs OOP</a>
by <a href="https://github.com/yegor256">@yegor256</a></li>
</ul>
<p id="events">Events:</p>
<ul>
<li><a href="https://www.meetup.com/Object-Thinking/">Object Thinking meetup</a></li>
</ul>
<p>
Blogs:
</p>
<ul>
<li><a href="http://www.yegor256.com/2014/11/20/seven-virtues-of-good-object.html">Seven Virtues of a Good Object</a>
by <a href="https://github.com/yegor256">@yegor256</a></li>
<li><a href="https://www.amihaiemil.com/2018/04/17/dolls-and-maquettes.html">Dolls and Maquettes</a>
by <a href="https://github.com/amihaiemil">@amihaiemil</a></li>
<li><a href="https://www.vzurauskas.com">Programming Ideas</a>
by <a href="https://github.com/vzurauskas">@vzurauskas</a></li>
<li><a href="https://proandroiddev.com/stop-crafting-your-time-bomb-39f2d26987e0">Stop Crafting Your "Time Bomb"</a>
by <a href="https://github.com/ErickSumargo">@ErickSumargo</a></li>
</ul>
<p id="languages">
Languages:
</p>
<ul>
<li><a href="https://github.com/cqfn/eo">EO</a> (experimental)</li>
</ul>
<p id="principles">
Principles:
</p>
<ul>
<li>No null
(<a href="http://www.yegor256.com/2014/05/13/why-null-is-bad.html">why?</a>)</li>
<li>No code in constructors
(<a href="http://www.yegor256.com/2015/05/07/ctors-must-be-code-free.html">why?</a>)</li>
<li>No getters and setters
(<a href="http://www.yegor256.com/2014/09/16/getters-and-setters-are-evil.html">why?</a>)</li>
<li>No mutable objects
(<a href="http://www.yegor256.com/2014/06/09/objects-should-be-immutable.html">why?</a>)</li>
<li>No readers, parsers, controllers, sorters, and so on
(<a href="https://www.yegor256.com/2015/03/09/objects-end-with-er.html">why?</a>)</li>
<li>No static methods, not even private ones
(<a href="http://www.yegor256.com/2017/02/07/private-method-is-new-class.html">why?</a>)</li>
<li>No instanceof, type casting, or reflection
(<a href="http://www.yegor256.com/2015/04/02/class-casting-is-anti-pattern.html">why?</a>)</li>
<li>No public methods without a contract (interface)
(<a href="https://www.yegor256.com/2014/11/20/seven-virtues-of-good-object.html#2-he-works-by-contracts">why?</a>)</li>
<li>No statements in test methods except assertThat
(<a href="http://www.yegor256.com/2017/05/17/single-statement-unit-tests.html">why?</a>)</li>
<li>No ORM or ActiveRecord
(<a href="https://www.yegor256.com/2014/12/01/orm-offensive-anti-pattern.html">why?</a>
and <a href="https://www.yegor256.com/2016/07/26/active-record.html">why?</a>)</li>
<li>No implementation inheritance
(<a href="http://www.yegor256.com/2017/01/31/decorating-envelopes.html">why?</a>
and <a href="http://www.yegor256.com/2016/09/13/inheritance-is-procedural.html">why?</a>)</li>
</ul>
<p>
Frameworks/libraries:
</p>
<ul>
<li><a href="https://github.com/yegor256/takes">Takes</a>
by <a href="https://github.com/yegor256">@yegor256</a> (Java)</li>
<li><a href="https://github.com/yegor256/cactoos">Cactoos</a>
by <a href="https://github.com/yegor256">@yegor256</a> (Java)</li>
<li><a href="https://github.com/icarus-consulting/Yaapii.Atoms">Atoms</a>
by <a href="https://github.com/icarus-consulting">@icarus-consulting</a> (C#)</li>
<li><a href="https://github.com/neonailol/kactoos">Kactoos</a>
by <a href="https://github.com/neonailol">@neonailol</a> (Kotlin)</li>
<li><a href="https://github.com/Vatavuk/excel-io">excel-io</a>
by <a href="https://github.com/Vatavuk">@Vatavuk</a> (Java)</li>
<li><a href="https://github.com/g4s8/cactoos-crypto">cactoos-crypto
by <a href="https://github.com/g4s8">@g4s8</a> (Java)</a></li>
<li><a href="https://github.com/llorllale/cactoos-matchers">cactoos-matchers</a>
by <a href="https://github.com/llorllale">@llorllale</a> (Java)</li>
<li><a href="https://github.com/VsSekorin/cactoos-math">cactoos-math</a>
by <a href="https://github.com/VsSekorin">@VsSekorin</a> (Java)</li>
<li><a href="https://github.com/yegor256/cactoos-http">cactoos-http</a>
by <a href="https://github.com/yegor256">@yegor256</a> (Java)</li>
<li><a href="https://github.com/fabriciofx/cactoos-jdbc">cactoos-jdbc</a>
by <a href="https://github.com/fabriciofx">@fabriciofx</a> (Java)</li>
<li><a href="https://github.com/VsSekorin/cactoos-json">cactoos-json</a>
by <a href="https://github.com/VsSekorin">@VsSekorin</a> (Java)</li>
<li><a href="https://github.com/decorators-squad/eo-yaml">eo-yaml</a>
by <a href="https://github.com/amihaiemil">@amihaiemil</a> (Java)</li>
<li><a href="https://github.com/amihaiemil/docker-java-api">docker-java-api</a>
by <a href="https://github.com/amihaiemil">@amihaiemil</a> (Java)</li>
<li><a href="https://github.com/CrocInc/sql-boot">sql-boot</a>
by <a href="https://twitter.com/GraminMaksim">@mgramin</a> (Kotlin)</li>
<li><a href="https://github.com/DronMDF/2out">2out</a>
by <a href="https://github.com/DronMDF">@DronMDF</a> (C++)</li>
<li><a href="https://github.com/victornoel/eo-envelopes">eo-envelopes</a>
by <a href="https://github.com/victornoel">@victornoel</a> (Java)</li>
<li><a href="https://github.com/g4s8/matchers-json">matchers-json</a>
by <a href="https://github.com/g4s8">@g4s8</a> (Java)</li>
<li><a href="https://github.com/dgroup/enumerable4j">enumerable4j</a>
by <a href="https://github.com/dgroup">@dgroup</a> (Java)</li>
<li><a href="https://github.com/dgroup/laconic-velocity">laconic-velocity</a>
by <a href="https://github.com/dgroup">@dgroup</a> (Java)</li>
<li><a href="https://github.com/dgroup/lazylead">lazylead</a>
by <a href="https://github.com/dgroup">@dgroup</a> (Ruby)</li>
<li><a href="https://github.com/dgroup/xlsx-matchers">xlsx-matchers</a>
by <a href="https://github.com/dgroup">@dgroup</a> (Java)</li>
<li><a href="https://dry-rb.org/gems/dry-struct/">dry-struct</a>
by <a href="https://github.com/dry-rb">@dry-rb</a> (ruby)</li>
<li><a href="https://github.com/dgroup/term4j">term4j</a>
by <a href="https://github.com/dgroup">@dgroup</a> (Java)</li>
<li><a href="https://github.com/dgroup/mbox4j">mbox4j</a>
by <a href="https://github.com/dgroup">@dgroup</a> (Java)</li>
<li><a href="https://github.com/guseyn/page">Page</a>
by <a href="https://github.com/guseyn">@guseyn</a> (Node.js)</li>
<li><a href="https://github.com/guseyn/cutie">cutie</a>
by <a href="https://github.com/guseyn">@guseyn</a> (Node.js)</li>
<li><a href="https://github.com/Vatavuk/verano-http">verano-http</a>
by <a href="https://github.com/Vatavuk">@Vatavuk</a> (Java)</li>
<li><a href="https://github.com/icarus-consulting/Yaapii.Http">yaapii.http</a>
by <a href="https://github.com/icarus-consulting">C# port of verano-http</a> (C#)</li>
<li><a href="https://github.com/Meerownymous/ZiZZi">ZiZZi</a> Declarative object oriented data printers
by <a href="https://github.com/Meerownymous">Meerownymous</a> (C#)</li>
<li><a href="https://github.com/icarus-consulting/BriX">BriX</a>
by <a href="https://github.com/icarus-consulting">OOP printable data structures</a> (C#)</li>
<li><a href="https://github.com/icarus-consulting/Xive">Xive</a>
by <a href="https://github.com/icarus-consulting">@icarus-consulting</a> (C#)</li>
<li><a href="https://github.com/proshin-roman/finapi-java-client">finapi-java-client</a>
by <a href="https://github.com/proshin-roman">@proshin-roman</a> (Java)</li>
<li><a href="https://github.com/nikialeksey/nullfree">nullfree</a>
by <a href="https://github.com/nikialeksey">@nikialeksey</a> (Java)</li>
<li><a href="https://github.com/vzurauskas/nereides-jackson">nereides-jackson</a>
by <a href="https://github.com/vzurauskas">@vzurauskas</a> (Java)</li>
<li><a href="https://github.com/vzurauskas/nereides-javax">nereides-javax</a>
by <a href="https://github.com/vzurauskas">@vzurauskas</a> (Java)</li>
<li><a href="https://github.com/elegant-bro">elegant-projects</a>
by <a href="https://github.com/orgs/elegant-bro/projects">elegant-bro</a> (PHP, Golang)</li>
<li><a href="https://github.com/roch1990/peon">peon</a>
by <a href="https://github.com/roch1990">@roch1990</a> (Python3)</li>
<li><a href="https://github.com/maxonfjvipon/ElegantElephant">ElegantElephant</a>
by <a href="https://github.com/maxonfjvipon">@maxonfjvipon</a> (PHP)</li>
<li><a href="https://github.com/kerelape/reikai">Reikai</a>
by <a href="https://github.com/kerelape">@kerelape</a> (Kotlin)</li>
<li><a href="https://www.elegram-api.ru/">elegram-api</a>
by <a href="https://github.com/l3r8yJ">@l3r8yJ</a> (Java)</li>
<li><a href="https://eo-cqrs.github.io/eo-kafka/">eo-kafka</a>
by <a href="https://github.com/eo-cqrs">@EO-CQRS</a> (Java)</li>
</ul>
<p>
Products:
</p>
<ul>
<li><a href="https://www.jare.io">Jare.io</a> / <a href="https://github.com/yegor256/jare">sources</a></li>
<li><a href="https://www.wring.io">Wring.io</a> / <a href="https://github.com/yegor256/wring">sources</a></li>
<li><a href="https://www.jpeek.org">Jpeek.org</a> / <a href="https://github.com/yegor256/jpeek">sources</a></li>
<li><a href="http://charles.amihaiemil.com/">Charles-rest</a> / <a href="https://github.com/opencharles/charles-rest">sources</a></li>
<li><a href="https://self-xdsd.com/">Self XDSD</a> / <a href="https://github.com/self-xdsd">sources</a></li>
</ul>
<p>
If your project is <a href="http://www.yegor256.com/2015/06/08/deadly-sins-software-project.html">maintained well</a>
and designed with the EO spirit in mind,
please submit it to the <a href="http://www.yegor256.com/award.html">annual quality award</a>
and win up to $4,096.
</p>
<p>
Fans (in alphabetical order):
<a href="https://github.com/a2xchip">@a2xchip</a>,
<a href="https://github.com/acidlynx">@acidlynx</a>,
<a href="https://github.com/admin1475963">@admin1475963</a>,
<a href="https://github.com/aikidistas">@aikidistas</a>,
<a href="https://github.com/aistomin">@aistomin</a>,
<a href="https://github.com/alex-semenyuk">@alex-semenyuk</a>,
<a href="https://github.com/alhadhrami">@alhadhrami</a>
<a href="https://github.com/aliceice">@aliceice</a>,
<a href="https://twitter.com/amihaiemil">@amihaiemil</a>,
<a href="https://github.com/andreoss">@andreoss</a>,
<a href="https://github.com/AndreiGurko">@AndreiGurko</a>,
<a href="https://github.com/baudoliver7">@baudoliver7</a>,
<a href="https://github.com/biboran">@biboran</a>,
<a href="https://github.com/birdflu">@birdflu</a>,
<a href="https://github.com/dgroup">@dgroup</a>,
<a href="https://github.com/dionisvl">@dionisvl</a>,
<a href="https://twitter.com/dmydlarz">@dmydlarz</a>,
<a href="https://github.com/driver733">@driver733</a>,
<a href="https://github.com/DronMDF">@DronMDF</a>,
<a href="https://twitter.com/eduardsi">@eduardsi</a>,
<a href="https://github.com/Empiree">@Empiree</a>,
<a href="https://github.com/ErickSumargo">@ErickSumargo</a>,
<a href="https://github.com/fabriciofx">@fabriciofx</a>,
<a href="https://github.com/filfreire">@filfreire</a>,
<a href="https://github.com/Graur">@Graur</a>,
<a href="https://github.com/g4s8">@g4s8</a>,
<a href="https://github.com/h1alexbel">@h1alexbel</a>,
<a href="https://github.com/iskanred">@iskanred</a>,
<a href="https://github.com/kerelape">@kerelape</a>,
<a href="https://github.com/koeeenig">@koeeenig</a>,
<a href="https://github.com/kogoia">@kogoia</a>,
<a href="https://github.com/l3r8yJ/">@l3r8yJ</a>,
<a href="https://github.com/Maratori">@maratori</a>,
<a href="https://github.com/marijnz0r">@marijnz0r</a>,
<a href="https://github.com/Masynchin">@Masynchin</a>,
<a href="https://github.com/maxonfjvipon">@maxonfjvipon</a>,
<a href="https://github.com/Meerownymous">@meerownymous</a>,
<a href="https://twitter.com/GraminMaksim">@mgramin</a>,
<a href="https://github.com/MrHadiSatrio">@MrHadiSatrio</a>,
<a href="https://github.com/MyNameIsNeXTSTEP">@MyNameIsNeXTSTEP</a>,
<a href="https://github.com/nakhodkiin">@nakhodkiin</a>,
<a href="https://twitter.com/nicholasruunu">@nicholasruunu</a>,
<a href="https://github.com/nikialeksey">@nikialeksey</a>,
<a href="https://github.com/paulodamaso">@paulodamaso</a>,
<a href="https://github.com/pinguinjkeke">@pinguinjkeke</a>,
<a href="https://github.com/pnatashap">@pnatashap</a>,
<a href="https://github.com/proshin-roman">@proshin-roman</a>,
<a href="https://github.com/raffaeleflorio">@raffaeleflorio</a>,
<a href="https://github.com/ratra1">@ratra1</a>,
<a href="https://github.com/roch1990">@roch1990</a>,
<a href="https://github.com/rocket-3">@rocket-3</a>,
<a href="https://twitter.com/RRochegude">@RRochegude</a>,
<a href="https://github.com/Samdespion">@Samdespion</a>,
<a href="https://github.com/silasreinagel">@SilasReinagel</a>,
<a href="https://github.com/sivaa">@sivaa</a>,
<a href="https://github.com/smallcreep">@smallcreep</a>,
<a href="https://github.com/stepanets">@stepanets</a>,
<a href="https://github.com/swardana">@swardana</a>,
<a href="https://twitter.com/tomasz_bawor">@tomasz_bawor</a>,
<a href="https://github.com/tihon49">@tihon49</a>,
<a href="https://github.com/t-izbassar">@t-izbassar</a>,
<a href="https://github.com/uchitsa">@uchitsa</a>,
<a href="https://github.com/Vatavuk">@vatavuk</a>,
<a href="https://github.com/vblinden">@vblinden</a>,
<a href="https://github.com/vhood">@vhood</a>,
<a href="https://github.com/VsSekorin">@vssekorin</a>,
<a href="https://github.com/vstan02">@vstan02</a>,
<a href="https://github.com/vzurauskas">@vzurauskas</a>,
<a href="https://github.com/xXdatelXx">@xXdatelXx</a>,
<a href="https://github.com/yegor256">@yegor256</a>,
<a href="https://github.com/ziplla">@ziplla</a>.
</p>
<p>
Badges for your GitHub repo:
<p>
<img src="//www.elegantobjects.org/badge.svg" alt="EO badge"/>
</p>
<p>--</p>
<p>
Please, <a href="https://github.com/yegor256/elegantobjects.github.io">submit a pull request</a>
if you want to add something to this page,
recommend a new video, a book, a blog post, or add yourself
or your company to the list of fans.
</p>
<p>
<a href="https://github.com/yegor256/elegantobjects.github.io" style="background:none;">
<img src="https://img.shields.io/github/stars/yegor256/elegantobjects.github.io.svg?style=flat-square" alt="stars"/>
</a>
</p>
</section>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-1963507-53', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>