pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Renaming


From: Ben Pfaff
Subject: Re: Renaming
Date: Tue, 28 Feb 2006 06:19:15 -0800
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

John Darrington <address@hidden> writes:

> On Mon, Feb 27, 2006 at 06:22:19PM -0800, Ben Pfaff wrote:
>      
>      > file-handle-def.c
>      > file-handle-def.h
>      
>      => file-handle.[ch] I think.
>
> Won't this conflict with file-handle.q from src/language/data-io ?

Won't being in a different directory put it in a different
namespace?

>      > lex-def.c                             identifier.c
>      > lex-def.h                            identifier.h
>      
>      I would prefer token.[ch] because I would like to put more of the
>      lexical knowledge here eventually.
>
> I had to make this module specifically to allow the data files to be
> read/written (they need to know which names are reserved words, so as
> to prevent variables getting created with those names).  Perhaps the
> lexer needs to be split up a bit, but I think it'd be a mistake to put
> lexical knowledge into src/data.  In summary, this file's purpose is
> much more specific than a tokenizer, and I think it should remain so.

OK.

>      > som.c
>      > som.h
>      
>      => manager.[ch]
>
> Isn't this a bit vague ?

"som" isn't any good.  I'd like something better--suggestions
welcome.
-- 
"Premature optimization is the root of all evil."
--D. E. Knuth, "Structured Programming with go to Statements"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]