<div class="gmail_quote">On 5 April 2011 00:02, bearophile <span dir="ltr"><<a href="mailto:bearophileHUGS@lycos.com">bearophileHUGS@lycos.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Andrei:<br>
<div class="im"><br>
> Clearly finding a good example with such conflicting requirements is not<br>
> easy and there's no need to restate that. If it were easy I would've<br>
> done it. What is needed is an example that successfully finds the sweet<br>
> spot.<br>
<br>
</div>In my opinion what I have explained in my answer is not obvious stuff, seeing how many solutions/programmers on Rosettacode fail.<br>
<br>
My point was that in my opinion there is no such single example that satisfies your requests, and that your requests are bad. If you put too much stuff in a single example, the result is not what I will call a good example for very public D code. So you have to put only a limited amount of stuff in the example, or you have to show more than one example.<br>

<br>
If you want a single example, the second on Wikipedia is the one I like:<br>
<a href="http://en.wikipedia.org/wiki/D_language#Example_2" target="_blank">http://en.wikipedia.org/wiki/D_language#Example_2</a><br>
<br>
Bye,<br>
<font color="#888888">bearophile<br>
</font></blockquote></div><br><br><div>Honestly I would rather meet a site that has several simple examples illustrating the capabilities of a language, instead of a single one, thats messy.<br clear="all"><br>-- <br>// Yours sincerely<br>
// Emil 'Skeen' Madsen<br>
</div>