![]() This is only one aspect of the meaning of the term ‘meaning’. That’s why Wittgenstein stated that the meaning of a term is its usage. ![]() This is the soft trick of language functioning (killing your resistance softly): the more you hear and use a term the more you believe you understand its meaning. Of course, if several times heard, it creates from the context of its usage a faint meaning. For example, for the term ‘register’ (you used in your explanation) I have no precise understanding. As an autodidact having never visited a computer science class, even not a programming class and having no buddy to discuss with, sometimes confronts one with serious problems which are for others no problems at all or make them wondering or laughing. Of course, a computer science class would open basic knowledge about the internal works of computers. I appreciated very much your thorough answer. Just store the arrays in an NSDictionary. You can write a class method that associates arrays with "names". I don't know if any of this answers your question or not because I still don't understand it. ![]() It is just the language designer and compiler writer patronizing you for your inability to read assembly language, which is, itself, just another made up sugar-coating on the CPU op-codes. Variable names, function names, literal strings - none of these actually exist. I think the problem is that you are attributing way too much meaning to your source code. I have glossed over some of the details, of course. Like variables, the first thing the compiler does is delete them. Collectively, all of these are known as "identifiers". You can use similar constructs to refer to the code itself and give names to your functions and classes. Variables are just words that refer to data for your program. Their only purpose is to give some "identity" to one for the words that you are using in your program. They have no meaning whatsoever to your program. One of the first steps in compiling your code is to take all of your variables and toss them in the bit bucket. What it points to can be anything - another word, a sequence of bytes, snother pointer, or some "object".Ī variable is just a meaningful name you assign to one of these words. Then, instead of using that word directly, you use it as a reference to find your real data. (There are floating point registers, but I will ignore those since they aren't relevant to your question.) One of the integers you can store in that word is the location of a block of memory. All you can put into that word is an integer. On a modern Mac, there are 64 binary bits in a word. All you really have is a register that can store a single word of bits. ![]() They are just sugar-coating to make it easier to read the program. The only place that is going to happen is in a computer science class. To really understand it, you need to write a compiler. I think this may be why so many people have such trouble with programming. You are reading too much into the idea of a "name". ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |