I agree using a different terminology than "nonexistent" like "NotFound" would be good. If we use "nonexistent" then the hyphen-free spelling seems preferred
On Sun, Dec 29, 2019 at 2:23 PM Micah Kornfield <emkornfi...@gmail.com> wrote: > > I'm not sure if all of the examples refer to the same thing, but "Not > Found" (from http 404 error) is the most common way of expressing at least > the first concept I think. > > On Sat, Dec 28, 2019 at 11:45 AM Neal Richardson < > neal.p.richard...@gmail.com> wrote: > > > IMO while "nonexistent" is the right word, neither are particularly > > readable or obvious in code. Is there a better word/phrase? > > > > On Fri, Dec 27, 2019 at 5:34 PM Sutou Kouhei <k...@clear-code.com> wrote: > > > > > Hi, > > > > > > I found that we use both "nonexistent" and "non-existent" in > > > our C++ code base. I think that we should use one of them > > > instead of mixing them. > > > > > > "nonexistent": > > > > > > * Public API: > > > * cpp/src/plasma/: plasma::PlasmaErrorCode::PlasmaObjectNonexistent > > > > > > "non-existent": > > > > > > * Public API: > > > * cpp/src/arrow/filesystem/: arrow::fs::FileType::NonExistent > > > * Internal: > > > * cpp/src/arrow/util/io_util.h: allow_non_existent > > > * Test: > > > * cpp/src/gandiva/tests/: non_existent_function > > > > > > > > > Which should we use? > > > (Personally, I prefer "nonexistent" to "non-existent".) > > > > > > > > > Thanks, > > > -- > > > kou > > > > >