Per Bothner scripsit: > While a REPL is a very nice tool, it has its limitations; the classical > REPL probably fits best very dynamic languages, with dynamic types, no > user-defined classes, and a dynamic top-level environment. It's still > useful for more static languages, but there are tradeoffs that make > it more limiting.
User-defined classes aren't a problem for the Python or Smalltalk REPLs, although they differ in what happens when a class is redefined. In Python, the old class object and its old instances are unchanged; you have simply reassigned the class name variable to point to the new class object. ST also finds old instances and mutates them using the infamous become: message. -- John Cowan [email protected] http://ccil.org/~cowan The competent programmer is fully aware of the strictly limited size of his own skull; therefore he approaches the programming task in full humility, and among other things he avoids clever tricks like the plague. --Edsger Dijkstra _______________________________________________ r6rs-discuss mailing list [email protected] http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss
