Any preference on using braces to restrict scope?

Scott Kostyshak skostysh at lyx.org
Fri Nov 18 17:41:47 UTC 2022


What do you think of the attached patch? It adds braces to restrict the
scope of the variable 'potential_terms'. I like this style, since it
makes it easier for me to read, but I wonder if others would find it
annoying. For example, it adds an extra layer of indentation. 

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Restrict-scope-of-a-variable.patch
Type: text/x-diff
Size: 2037 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20221118/0eedfbe3/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20221118/0eedfbe3/attachment.asc>


More information about the lyx-devel mailing list