[Scummvm-devel] Revisiting coding convention for empty loop body

Eugene Sandulenko sev.mail at gmail.com
Sat Apr 21 14:46:42 CEST 2018


On 21 April 2018 at 12:54, Paul Gilbert <paulfgilbert at gmail.com> wrote:

> Hmmm.. if we'd need to do some form of change to existing code to , I'd be
> more in favor of mandating the use of {} rather than the semicolon, as
> opposed to requiring an entire comment just to say that it's intentional
> that the loop doesn't have a body. It would convey the same information, in
> a more compact form. And it would have the advantage of bypassing the
> question of whether semicolons should have spaces in front of them.
>

I like this idea much more. I would even adjust the conventions to reflect
it.


Eugene
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scummvm.org/pipermail/scummvm-devel/attachments/20180421/6031e240/attachment.html>


More information about the Scummvm-devel mailing list