Example within documentations of D seriously need some improvement.

Matthew Ong ongbp at yahoo.com
Fri May 27 11:00:10 PDT 2011


On 5/28/2011 1:31 AM, KennyTM~ wrote:
> On May 28, 11 01:19, Matthew Ong wrote:
>> On 5/28/2011 1:17 AM, Adam D. Ruppe wrote:

> You can check a sample in
> http://arsdnet.net/d-web-site/std_algorithm2.html.
Ah... good idea. Very close to that.

Perhaps format like coffee using more interesting side by side 
comparison and with more writefln/writeln rather than assert.
Assert does not show anything visually.
Please place into the example also:
1)some code comment
2)more meaningful naming to explain the concept. avoid using something 
too generic as name.

>
> See the thread
> http://www.digitalmars.com/d/archives/digitalmars/D/Try_it_now_134671.html
> for the discussed matter.
Ah... Seem like I was not the person that gave such feed back before. Good.

-- 
Matthew Ong
email: ongbp at yahoo.com



More information about the Digitalmars-d mailing list