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

Re: Various comments



Per Bothner scripsit:

> Now I'm not sure how identifier-macros really help, except perhaps
> *internally* in the class implementation, which is less important.

Just so.

> But my point is that there are good software-engineering reasons why
> you might want to have a function-call hide behind what looks like
> a variable access.

I don't see how this applies to Scheme, where the difference between
variable access and function call is only two characters, as opposed
to the conventional Java "obj.foo" vs. "obj.getFoo()".

I'd rather say that in Scheme everything should look like a procedure
call, and compilers ought to inline procedure calls of this trivial
kind, what in Smalltalk are called "short-circuit sends".

-- 
As you read this, I don't want you to feel      John Cowan
sorry for me, because, I believe everyone       cowan@xxxxxxxx
will die someday.                               http://www.ccil.org/~cowan
        --From a Nigerian-type scam spam