September 13, 2011 Re: clear() | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Alix Pexton | On 14.09.2011 1:12, Alix Pexton wrote: > On 13/09/2011 17:05, sclytrack wrote: >> Rename "clear" to "blank" in D version 3. >> >> Like blank a CD it is ready for writing but not ready for use. It is >> ready for use >> after you have burned something on it. Unless you consider burning a >> CD using it. >> >> blank(); > > > wipe(); //?? > > A... my favorite still: nuke(x); //now it's obvious x is not valid ;) -- Dmitry Olshansky | |||
September 14, 2011 Re: clear() | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Dmitry Olshansky | On Tue, 13 Sep 2011 23:18:57 +0200, Dmitry Olshansky <dmitry.olsh@gmail.com> wrote: > On 14.09.2011 1:12, Alix Pexton wrote: >> On 13/09/2011 17:05, sclytrack wrote: >>> Rename "clear" to "blank" in D version 3. >>> >>> Like blank a CD it is ready for writing but not ready for use. It is >>> ready for use >>> after you have burned something on it. Unless you consider burning a >>> CD using it. >>> >>> blank(); >> >> >> wipe(); //?? >> >> A... > > my favorite still: > nuke(x); > //now it's obvious x is not valid ;) That's actually kinda nice. Unlikely to be used for much else, intention very clear, and the name is short and easy to remember. Not to mention, it's a crowd-pleaser. -- Simen | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply