Why is variable substitution called variable substitution if we retrieve the value?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I've read here the following text:




The name of a variable is a placeholder for its value, the data it
holds. Referencing (retrieving) its value is called variable
substitution.




If we retrieve/or reference the value, why is the terminology is "to substitute" and not just "to retrieve" or "to reference"?







share|improve this question


























    up vote
    0
    down vote

    favorite












    I've read here the following text:




    The name of a variable is a placeholder for its value, the data it
    holds. Referencing (retrieving) its value is called variable
    substitution.




    If we retrieve/or reference the value, why is the terminology is "to substitute" and not just "to retrieve" or "to reference"?







    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I've read here the following text:




      The name of a variable is a placeholder for its value, the data it
      holds. Referencing (retrieving) its value is called variable
      substitution.




      If we retrieve/or reference the value, why is the terminology is "to substitute" and not just "to retrieve" or "to reference"?







      share|improve this question














      I've read here the following text:




      The name of a variable is a placeholder for its value, the data it
      holds. Referencing (retrieving) its value is called variable
      substitution.




      If we retrieve/or reference the value, why is the terminology is "to substitute" and not just "to retrieve" or "to reference"?









      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 10 '17 at 11:39









      Jeff Schaller

      32k849109




      32k849109










      asked Nov 10 '17 at 4:49









      Arcticooling

      83123




      83123




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          Think of it in terms of the character strings: you start with



          $variable


          and after variable substitution that becomes



          value


          The placeholder is replaced by the value, hence variable substitution. There’s no reference to the variable after this (the shell doesn’t remember where the value came from).






          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f403667%2fwhy-is-variable-substitution-called-variable-substitution-if-we-retrieve-the-val%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            1
            down vote



            accepted










            Think of it in terms of the character strings: you start with



            $variable


            and after variable substitution that becomes



            value


            The placeholder is replaced by the value, hence variable substitution. There’s no reference to the variable after this (the shell doesn’t remember where the value came from).






            share|improve this answer
























              up vote
              1
              down vote



              accepted










              Think of it in terms of the character strings: you start with



              $variable


              and after variable substitution that becomes



              value


              The placeholder is replaced by the value, hence variable substitution. There’s no reference to the variable after this (the shell doesn’t remember where the value came from).






              share|improve this answer






















                up vote
                1
                down vote



                accepted







                up vote
                1
                down vote



                accepted






                Think of it in terms of the character strings: you start with



                $variable


                and after variable substitution that becomes



                value


                The placeholder is replaced by the value, hence variable substitution. There’s no reference to the variable after this (the shell doesn’t remember where the value came from).






                share|improve this answer












                Think of it in terms of the character strings: you start with



                $variable


                and after variable substitution that becomes



                value


                The placeholder is replaced by the value, hence variable substitution. There’s no reference to the variable after this (the shell doesn’t remember where the value came from).







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 10 '17 at 5:20









                Stephen Kitt

                143k22312377




                143k22312377



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f403667%2fwhy-is-variable-substitution-called-variable-substitution-if-we-retrieve-the-val%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Displaying single band from multi-band raster using QGIS

                    How many registers does an x86_64 CPU actually have?