Let us discuss the Zen of PIV software (following the Zen of Python)
From:
Python Rocks! and other rants
>>> import this
The Zen of Python, by Tim Peters
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 suggestion is to form some sort of the Zen of PIV:
Beautiful is better than ugly (GUI, we pick up Qt)
Explicit is better than implicit.
Simple is better than complex. (URAPIV motto since 1998)
Complex is better than complicated. (Sophisticated algorithm should not interfere with simplicity)
Flat is better than nested.
Sparse is better than dense.
Readability counts. (see our comments in Matlab/Python or C++)
Special cases aren’t special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently. (our errors crash the computer, kidding)
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. (Now is about time to continue develop OpenPIV. not *right* now, though)
If the implementation is hard to explain, it’s a bad idea. (no multi-scales? multi-windows? mutli-whatever?)
If the implementation is easy to explain, it may be a good idea. (yes to advanced, simple and smart algorithms)
Namespaces are one honking great idea — let’s do more of those!
