Re: [PATCH v2] test_driver: properly handle DHCP ranges and IPv6 networks in testDomainInterfaceAddresses

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/21/19 11:49 AM, Ilias Stamatis wrote:
> <snip/>

I totally agree with you, it's more readable for me too.

Just so far I haven't encountered in the code. Also e.g. C99 allows
variables to be declared inside a loop ie

for (size_t i = 0; ...

...but I haven't seen that being used anywhere either.

Yeah, we have a mixture of c89 and c99. Honestly, I don't know why. And also, I can see us using c99 style loops in some cases, i.e. small, self contained loop that does not need a rollback if a function called from within its body fails. But then again, inconsistency hurts code readability much more than suboptimal consistency.

Michal

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux