HOPE: | 20 |
Title: | The Zen of Hug |
Author(s): | Timothy Crosley [email protected] |
Status: | Accepted |
Type: | Informational |
Created: | 20-May-2019 |
Updated: | 20-May-2019 |
Inspired by PEP 20 - The Zen of Python, we've written down some guiding principals for Hug development.
Simple Things should be easy, complex things should be possible.
Complex things done often should be made simple.
Magic should be avoided.
Magic isn't magic as soon as its mechanics are universally understood.
Wrong documentation is worse than no documentation.
Everything should be documented.
All code should be tested.
All tests should be meaningful.
Consistency is more important than perfection.
It's okay to break consistency for practicality.
Clarity is more important than performance.
If we do our job right, there shouldn't need to be a choice.
Interfaces are one honking great idea -- let's do more of those!
>> from hug import this