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

Re: Why would anyone want opacity?



> > And are many programmers really going to type "car" or "vector-ref"
> > (or whatever the "concrete" operation is) by accident, rather than
> > out of some kind of misunderstanding?
> 
> Yes.  I am reporting an empirical fact.  I am not trying to
> explain why it should be so.

Do you have, like, statistics?  The only thing like that I've
seen is someone calling list-length rather than lentgh in Common
Lisp, because they thought it was a faster, list-specific version.
But that was because of a misunderstanding.

Your map instead of map-set looks like a plausible source of
accidental errors, but how often are the words so similar?

-- jeff