https://github.com/vicephp/virtue
Making PHP more Pythonic...
https://github.com/vicephp/virtue
php php-framework php-micro-framework php7
Last synced: about 2 months ago
JSON representation
Making PHP more Pythonic...
- Host: GitHub
- URL: https://github.com/vicephp/virtue
- Owner: vicephp
- Created: 2020-03-24T06:38:45.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2025-04-08T12:58:26.000Z (2 months ago)
- Last Synced: 2025-04-08T13:50:33.222Z (2 months ago)
- Topics: php, php-framework, php-micro-framework, php7
- Language: PHP
- Size: 391 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Virtue
## Premise
```
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!
```
[The Zen Of Python](https://www.python.org/dev/peps/pep-0020/)