Redesign of dlang.org

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Wed Apr 23 16:25:23 PDT 2014


On 4/23/14, 1:53 PM, "Ola Fosheim Grøstad" 
<ola.fosheim.grostad+dlang at gmail.com>" wrote:
> On Wednesday, 23 April 2014 at 16:13:37 UTC, Andrei Alexandrescu wrote:
>> So I'd dlang.org to foster a behavior depending on the available real
>> estate, as follows:
>>
>> * Cap cpl at e.g. 110 on very large screens.
>>
>> * As the available width decreases, reduce cpl up to 60.
>>
>> * If cpl with sidebar falls below 60, remove the sidebar and obtain
>> e.g. 80 cpl.
>>
>> * As the available width reduces further, allow reduction down to e.g.
>> 35 cpl, and then require horizontal scrolling.
>
> At some point you'll probably realize that the term "cpl" is not
> particularly meaningful in this context because:
>
> 1. you don't use a monofont and have to figure out what "cpl" is in "em"
> or "rem".

I'm talking averages.

> 2. adults detect phrases, not characters, so any measurements are done
> on the wrong unit anyway.

For a given language (English in our case), the relationship translates 
into average words per line.

> 3. quantitative human factors studies that go beyond your inate
> capabilites tend to be full of severe methodological flaws.

Uhm...

> Waste of time.

I doubt it.


Andrei



More information about the Digitalmars-d mailing list