Why not std.io instead of std.stdio?
Stewart Gordon
smjg_1998 at yahoo.com
Sat Apr 25 15:45:01 PDT 2009
Derek Parnell wrote:
<snip>
> The "std" is the package name. Here "std" is an abbreviation for "standard"
> and in this context in means "a package that is supported by the compiler
> manufacturer".
By the language standard, actually. If a third-party compiler
manufacturer throws in a library of its own, that would be in a
different package.
> The "stdio" is the module within that package that contains standard I/O
> routines. In this context, "standard" does not mean "ones supported by the
> compiler manufacturer" but "ones that are commonly used" or such.
<snip>
So effectively, the C people decided to label these functions as the
"standard" way of doing I/O, and D has copied this idea.
Was it ever intended as a reference to the streams that are the standard
input and standard output?
Stewart.
More information about the Digitalmars-d
mailing list