lua-users home
lua-l archive

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


I've programmed in both Pascal and Modula-3 using the `with' statement.
Consensus seems to be that the M3 version (which is like `let' binding
in functional languages) is not too bad, whereas the Pascal version
is best avoided.  The key is the M3 `with' makes the names of
the new identifiers explicit, whereas in Pascal they are implicit.

Standard ML's `open' suffers from the same problem: you introduce a
whole host of names, from you know not where...

Norman