Re: Object-relational impedence



Robert Martin wrote:
On 2008-03-06 06:37:19 -0600, JOG <jog@xxxxxxxxxxxxx> said:

Using nonsense words like 'subscope' doesn't do conversation any
favours Robert.

A sub scope is a scope that lives within another scope. The simplest example is the following C code.


{ // parent scope
int i;
int j;
{ // sub scope
int i;
}
}


If high-falutin' lingo like 'lives within another scope' passes for explanation in OO circles no wonder they are perpetuate other babble besides. A newcomer would profit not a bit from the above but a lot from an explanation of a logical stack, which is a simple and clear runtime mechanism (regardless of whether a hardware stack or heap is used). Then he could call it what he wants, once he understands what is really happening on a typical machine. Why are the regulars here encouraging these cross-posters and 'machine as animal' mystics?
.



Relevant Pages

  • Re: scope and linkage rule, very confusing!
    ... >> function scope ... >> int f{ ... Labels that can be the targets of a goto statement, ... > both linkage and storage duration. ...
    (comp.lang.c)
  • Re: Porting from visual C to gcc problem
    ... the compiler must have come across the typedef ... >>function declaration, ... then the scope lasts to through the body to ... >>int func; ...
    (comp.lang.c.moderated)
  • Re: In which scope should variables be declared?
    ... >specific scope I can. ... >int foo ... of this loop to the next, DON'T declare it inside the for loop. ... > In this case, if the declaration maps to any cpu time when compiled, ...
    (comp.lang.c)
  • class variables: scoping
    ... static int x; ... scope, but is reinitialized each time the method is called. ... Now, I would like to have a variable which has function scope, ... time I instantiate an instance of Foo a new such variable is created. ...
    (comp.lang.cpp)
  • Re: Dangerous code in cpumask_of_cpu?
    ... Oh, well you do access it outside scope, sorry. ... I guess because we dereference it immediately again, ... puts the address in eax and derefences it immediately, ... static int *foo ...
    (Linux-Kernel)