On 6/1/16, 5:27 PM, "Development on behalf of Marc Mutz" 
<[email protected] on behalf of 
[email protected]> wrote:


...
>Semicolons and commas are visually *designed* to be 
>trailing. And consequently every C++ text book uses trailing commas.

The pros that have been cited include code review and diffs for leading commas. 
 One nice thing about books is that they are fairly static, so the pro doesn’t 
really apply ;-)

I thought it looked strange at first, and was weird to use for about a day.  
But when the code changes, it comes in pretty handy.  Now I’ve found I like the 
approach.

My $.02.

Brett
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to