kill the commas! (phobos code cleanup)

via Digitalmars-d digitalmars-d at puremagic.com
Wed Sep 3 12:59:24 PDT 2014


On Wednesday, 3 September 2014 at 12:32:40 UTC, ketmar via 
Digitalmars-d wrote:
> another code cleanup: removing "comma-separated expressions" 
> from
> phobos.
>
> https://issues.dlang.org/show_bug.cgi?id=13419
>
> there is only one poisoned file in phobos and druntime: 
> std.uni. there
> are some "return a, b;" abominations.
>
> KILL THE COMMAS! KILL THE COMMAS! KILL THE COMMAS!
>
> (found with my "warning on comma-separated expressions" patch, 
> so i can
> guarantee that nothing is left)
>
> KILL THE COMMAS! KILL THE COMMAS! KILL THE COMMAS!

https://github.com/D-Programming-Language/phobos/pull/2485


More information about the Digitalmars-d mailing list