5 ms·
> Static entities such as classes and methods (and depending on your Smalltalk implementation namespaces and object versions) can be modified at runtime Then i
by catnaroek 9y ago
> Static entities such as classes and methods (and depending on your Smalltalk implementation namespaces and object versions) can be modified at runtime
Then it's not static.
- coldtea 9y agoStatic doesn't mean constant or immutable. One can alter static stuff at runtime in all kinds of languages.
- catnaroek 9y agoThen again it's not static. In programming language semantics, there is a distinction between “static semantics” (e.g., lexical scope, type checking) and “dynamic semantics” (execution). Not having a static semantics (or, rather, having a trivial one) is fine, but it doesn't suddenly allow you to call parts of the dynamic semantics “static”. What's with kids again not knowing basic computer science?
- robertkrahn01 9y agoYou are right, my usage of the term static does not go back to a well defined notion, I used it for brevity. What I meant is to make a distinction between entities describing the (runtime) system's state (classes, methods) vs. the entities used in the system's execution (stack frames, message sends).