YesOrNo: useful idiom helper or wanking?
Nick Sabalausky
a at a.a
Mon Apr 11 12:41:44 PDT 2011
"KennyTM~" <kennytm at gmail.com> wrote in message
news:invke1$2gv6$1 at digitalmars.com...
> On Apr 12, 11 03:05, Andrej Mitrovic wrote:
>> Because without some form of syntax highlighting the function headers
>> are almost unreadable from the website:
>> http://i.imgur.com/B5M6u.png
>>
>> It's a wall of text.
>
> Well that's a separate issue. Firstly the struct Until shouldn't appear
> (e.g. use 'auto' return). Then the signature appeared would become
>
> until(alias pred="a==b", Range, Sentinel)(Range range, Sentinel
> sentinel, OpenRight openRight = OpenRight.yes);
> until(alias pred, Range)(Range range, OpenRight openRight =
> OpenRight.yes);
>
> This would break half of the wall.
...And suddenly people won't know what the hell to expect it to return.
More information about the Digitalmars-d
mailing list