]> git.ipfire.org Git - thirdparty/libvirt.git/commit
docs: hacking: Discourage use of the ternary operator and ban it's abuse
authorPeter Krempa <pkrempa@redhat.com>
Thu, 9 May 2019 10:27:25 +0000 (12:27 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 22 May 2019 12:46:29 +0000 (14:46 +0200)
commit9343db59ce49138907545d6925d99c122cfe8139
tree93a0e6ace3a27fa84c91c965422b50e401bea023
parent27dfb0280ff87f61978befc1f7dd72b7d3ab93d9
docs: hacking: Discourage use of the ternary operator and ban it's abuse

Forbid breaking lines inside the two branches of the ternary operator
and nesting them. Using it in these instances does not help readability.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
ACKed-by: Eric Blake <eblake@redhat.com>
docs/hacking.html.in