Re: [libvirt] [PATCH 0/3] docs: hacking: Discourage some patterns to help code readability

2019-05-21 Thread Eric Blake
On 5/21/19 7:52 AM, Peter Krempa wrote: > On Thu, May 09, 2019 at 12:43:31 +0200, Peter Krempa wrote: >> Peter Krempa (3): >> docs: hacking: Document few practices for creating error messages >> docs: hacking: Add good practices for shortening conditional >> expressions >> docs: hacking:

Re: [libvirt] [PATCH 0/3] docs: hacking: Discourage some patterns to help code readability

2019-05-21 Thread Peter Krempa
On Thu, May 09, 2019 at 12:43:31 +0200, Peter Krempa wrote: > Peter Krempa (3): > docs: hacking: Document few practices for creating error messages > docs: hacking: Add good practices for shortening conditional > expressions > docs: hacking: Discourage use of the ternary operator and ban

[libvirt] [PATCH 0/3] docs: hacking: Discourage some patterns to help code readability

2019-05-09 Thread Peter Krempa
Peter Krempa (3): docs: hacking: Document few practices for creating error messages docs: hacking: Add good practices for shortening conditional expressions docs: hacking: Discourage use of the ternary operator and ban it's abuse docs/hacking.html.in | 61 +++