From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,b87849933931bc93 X-Google-Attributes: gid109fba,public X-Google-Thread: fac41,b87849933931bc93 X-Google-Attributes: gidfac41,public X-Google-Thread: f43e6,b87849933931bc93 X-Google-Attributes: gidf43e6,public X-Google-Thread: 114809,b87849933931bc93 X-Google-Attributes: gid114809,public X-Google-Thread: 103376,b87849933931bc93 X-Google-Attributes: gid103376,public X-Google-Thread: 1108a1,b87849933931bc93 X-Google-Attributes: gid1108a1,public From: jmartin@cs.ucla.edu (Jay Martin) Subject: Re: Exceptions as objects (was Re: What is wrong with OO ?) Date: 1997/02/08 Message-ID: <5dgnol$lnu@uni.library.ucla.edu>#1/1 X-Deja-AN: 215223762 references: <5acjtn$5uj@news3.digex.net> <32dd9fc8.262114963@news.sprynet.com> <5cu43v$jkn@nntpa.cb.lucent.com> <5de797$1ksa@uni.library.ucla.edu> organization: University of California, Los Angeles newsgroups: comp.lang.c++,comp.lang.smalltalk,comp.lang.eiffel,comp.lang.ada,comp.object,comp.software-eng Date: 1997-02-08T00:00:00+00:00 List-Id: pcg@aber.ac.uk (Piercarlo Grandi) writes: >>>> "jmartin" == Jay Martin writes: >Ahhh, but what I have been arguing is merely the obvious: runtime >customization of imlementations is a fact of life, whether one like sit >or not, and dynamically scoped identifiers are the most >direct/obvious/``simplest'' way to do it, e.g. environment variables in >UNIX and similar facilities in most other systems/languages. Yeah but sometimes you have to go that extra mile for good software. >jmartin> Which in this instance is by passing parameters >but this does not necessarily mean that it is desirable... In effect it >is not very desirable, as long as the global/fluid variables left in teh >program are clearly encapsulated. I basically always pass data and almost never use variables from a larger scope (globals). Doesn't seem much of burden to me. Explicit data flow seems clearer and to not do so is conceptually using "side-effects". Ick! >jmartin> or having different functions. >This is in the general case unfeasible (there can be any number of >procedures that one would want to do)... But in specific cases it works fine. Generality can have many downsides. Jay