Thread overview
dlang.org frontpage example shows incorrect results
May 09, 2013
Henning Pohl
May 09, 2013
Dicebot
May 10, 2013
nazriel
May 09, 2013
According to the example on the frontpage the default input:

The D programming language. Modern convenience. Modeling power. Native efficiency.

Has an average line length of 1.
May 09, 2013
On Thursday, 9 May 2013 at 13:35:43 UTC, Henning Pohl wrote:
> According to the example on the frontpage the default input:
>
> The D programming language. Modern convenience. Modeling power. Native efficiency.
>
> Has an average line length of 1.

Hah, nice catch! :) Looks like there is a problem with how input is fed to snippet stdin in online evaluator. Same snippet works locally, but on dlang.org it receives all stdin as a bunch of 1 symbol long lines.
May 10, 2013
On Thursday, 9 May 2013 at 13:35:43 UTC, Henning Pohl wrote:
> According to the example on the frontpage the default input:
>
> The D programming language. Modern convenience. Modeling power. Native efficiency.
>
> Has an average line length of 1.

Hello.

Thank you for reporting this.

Dicebot is right, it was evaluator fault.

Fixed now.

Best regards
Damian Ziemba