Why the Standard Library

Derek ddparnell at bigpond.com
Thu Jan 19 14:56:11 PST 2012


On Fri, 20 Jan 2012 09:31:12 +1100, Alex Rønne Petersen  
<xtzgzorex at gmail.com> wrote:

> On 19-01-2012 23:13, F i L wrote:
>> What I want to know, is why "std.stdio" wasn't named "std.io"...
>> *sigh*.. my OCD is going to drive me crazy one day.
>>
>
> That *is* a valid concern IMHO.

I thought that the name std.stdio reflected that the module is in the  
standard library (std.) and that the module contains standard I/O members  
rather than extraordinary I/O members, which may be contained in another  
module that is also in the standard library.

In other words, the 'std' is not a duplication because it has two meanings  
depending on the context. "std." refers to it being in the standard  
library and "stdio" refers the the members *of that module* being standard  
i/o stuff and not special i/o stuff.

-- 
Derek Parnell
Melbourne, Australia


More information about the Digitalmars-d mailing list