Re: Some feedback on the website.

2015-12-16 Thread carljv via Digitalmars-d
On Wednesday, 16 December 2015 at 19:12:04 UTC, H. S. Teoh wrote: On Wed, Dec 16, 2015 at 06:47:26PM +, deadalnix via Digitalmars-d wrote: [...] Using ddoc for the website may be NIH, but the ability to easily display snippets of D code without jumping through hoops is a big plus.

Re: We need better documentation for functions with ranges and templates

2015-12-14 Thread carljv via Digitalmars-d
On Tuesday, 15 December 2015 at 02:34:01 UTC, Steven Schveighoffer wrote: Find will handle just about any call you can think of. How can the docs just say this concisely? -Steve I think it's an interesting question to what extent template constraints are actually suitable at all as human

Re: We need better documentation for functions with ranges and templates

2015-12-14 Thread carljv via Digitalmars-d
I think it's really just a design issue--I agree that you can't ignore information about ranges and constraints altogether. But the documentation doesn't reflect any hierarchy of the importance of information. In the example: bool isSameLength(Range1, Range2)(Range1 r1, Range2 r2) if