P
P
PP2015-03-26 10:39:56
PHP
PP, 2015-03-26 10:39:56

Do you have a favorite code?

Have you come across someone else's (or maybe your own?) code (library, module, etc.) that delighted you with its architecture, thoughtful variable names, brevity and elegance, design, etc.?
If there were such cases, please share these sources (of course, if they are open source);
// really want to read good code :)
UPD
So far, most people are crazy about hello worlds. These feelings are a little incomprehensible to me, since I think that if the code solves only debugging tasks, then what is the point of admiring it at all?
And there is also a small request, could you immediately indicate the link to the source code if you provide the code.

Answer the question

In order to leave comments, you need to log in

13 answer(s)
I
ILoveYAnny, 2015-03-26
@ILoveYAnny

alert('Hello, world!');

E
enixpp, 2015-03-26
@enixpp

#define TRUE FALSE // Happy debugging suckers

S
Sergey, 2015-03-26
Protko @Fesor

Separate Symfony components, in particular forms. Twig is beautiful internally (as much as a template engine can be)... Just check popular repositories - half the time the code is pretty.

M
Mike, 2015-03-26
@Mike77

There are a lot of hated)
and so the underscore, jquery resources are nothing)

I
ivan gi, 2015-03-26
@googlaev

import os
in python.

T
Twist, 2015-04-02
@bboytiwst

These guys have excellent code
thephppleague
But I really like this project on symphony
oro crm platform

K
kolegich, 2015-03-26
@kolegich

++++++++[>+++<-]>[>+++>++++<<-]>--.>.-----.------ .
Displays the name.

S
Sergey Semenko, 2015-03-26
@abler98

Well, I don’t know, so I can’t say right away, for example, scene2d in libGDX
https://github.com/libgdx/libgdx/wiki/Scene2d
https://github.com/libgdx/libgdx/tree/master/gdx /s...
PS Didn't see the PHP label

R
Roman, 2015-04-02
@DaskOFF

It seems to me that at different levels there is a concept of beautiful and elegant when, when you are a Junior and just starting any big, popular code, it seems so beautiful and elegant :)

V
VolodyaHome, 2015-04-04
@VolodyaHome

I really liked the code of the fatfree framework in php. The developer loves minimalism.

N
Nurlan, 2017-04-01
@daager

How a child enjoyed working with models in Laravel.

M
Maxim Gavrilov, 2015-03-27
@thestump

I'll wait until you show your code :)!

W
WordPress WooCommerce, 2017-08-19
@maxxannik

I love the WordPress code style. The guys sacrifice beauty not much, but they greatly increase late binding and backward compatibility. This gives harmony at the level of the system as a whole. What makes the platform #1 in the world in terms of market share. Providing the world with beautiful and user-friendly websites.
In absolute and relative terms, there are more user-friendly sites on WP than on other platforms.
Ptm that many programmers, in pursuit of the beauty of the code, sacrifice everything else and the world gets a bunch of shitty sites and miserable user interfaces.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question