I am a bit unhappy about this but I don't see a better solution. It ...
13 years, 9 months ago
(2010-07-17 00:52:27 UTC)
#2
I am a bit unhappy about this but I don't see a better solution.
It should be named DevNull not DEVNULL.
Doc comments begin with complete sentences:
// DevNull is the name of the operating system's ``null device.''
// On Unix-like systems, it is "/dev/null"; on Windows, "NUL".
Russ
On 2010/07/17 00:52:27, rsc wrote: > It should be named DevNull not DEVNULL. Nit: Why ...
13 years, 9 months ago
(2010-07-22 03:26:47 UTC)
#4
On 2010/07/17 00:52:27, rsc wrote:
> It should be named DevNull not DEVNULL.
Nit:
Why DevNull? Certainly if you paraphrase /dev/null that makes sense, but there
are other platforms without that.
Given it's a Null Device it could be argues NullDev or NullDevice makes more
sense.
On 2010/07/22 03:26:47, cw wrote: > On 2010/07/17 00:52:27, rsc wrote: > > > It ...
13 years, 9 months ago
(2010-07-22 06:40:01 UTC)
#5
On 2010/07/22 03:26:47, cw wrote:
> On 2010/07/17 00:52:27, rsc wrote:
>
> > It should be named DevNull not DEVNULL.
>
> Nit:
>
> Why DevNull? Certainly if you paraphrase /dev/null that makes sense, but
there
> are other platforms without that.
>
> Given it's a Null Device it could be argues NullDev or NullDevice makes more
> sense.
Consistency. The rest of the documentation displays a clear bias towards using
*nix terminology. Why should this be an exception? Or, do you propose to change
all the documentation to use OS neutral terminology. Also, don't forget that
OS/360 uses NULLFILE and it's used as a file name, so don't use device in the
name either!
Il meglio è l’inimico del bene
Issue 1854042: code review 1854042: os: Null device
Created 13 years, 9 months ago by peterGo
Modified 13 years, 9 months ago
Reviewers:
Base URL:
Comments: 0