Word for having no impact on state












1















In computer science and mathematics, the word idempotent is used to describe a process that can be repeated any number of times, always leading to the same, predictable outcome.



Is there a single word for the similar concept of "having no side effects"? A word to describe a process that can be repeated any number of times without ever changing the state of the world (or system) around it? If I were to fabricate such a word it would be something cumbersome like enviroimpotent.



Such a word would be extremely useful in situations like this question, where there are imprecise and confusing phrases like




A pure function is idempotent and has no side effects...but really it can't have any effect on the state of the system, not just unintended...* continued babbling about semantics *




I imagine usage like




A pocket calculator's arithmetic is ___; using it to estimate how much post-tax money you'll have after winning the lottery will do nothing to improve your odds.




or




A voting booth should operate ____ly. A vote being cast for a candidate that results in that candidate being displayed higher for the next voter would be a severe flaw.











share|improve this question


















  • 1





    That's what the concept of pure function is. This is needed because in computer science the name function is used for callable pieces of code instead of functions in the mathematical sense.

    – mama
    12 hours ago











  • Yes it is a necessary concept. The problem is that there isn't a concise way (that I know of) to accurately convey the concept

    – Indigenuity
    12 hours ago













  • Many pocket calculators' functions aren't pure functions. Press +, 1 and then each time that you press = you add 1 to the number in the screen. The state changes each time, until eventually reaching the terminal state ERROR.

    – mama
    12 hours ago











  • Perhaps a poor example then. I struggled to find examples without getting too pedantic or deeply involved in the philosophical argument about whether it's even possible to do anything without changing the world in some way. Any physical (and most abstract) actions will have some effect on a system. In the case of the calculator, I tried to emphasize the specific context of affecting an external state, or a real side effect. The voting booth was intended to cover internal state from one moment to the next.

    – Indigenuity
    12 hours ago











  • The same way that to convey what a function is in mathematics requires giving the full definition. You can only say it with one word, function, when your interlocutor already knows the concept. A concept that took centuries to shape and that even today most calculus books get/use it wrong.

    – mama
    12 hours ago


















1















In computer science and mathematics, the word idempotent is used to describe a process that can be repeated any number of times, always leading to the same, predictable outcome.



Is there a single word for the similar concept of "having no side effects"? A word to describe a process that can be repeated any number of times without ever changing the state of the world (or system) around it? If I were to fabricate such a word it would be something cumbersome like enviroimpotent.



Such a word would be extremely useful in situations like this question, where there are imprecise and confusing phrases like




A pure function is idempotent and has no side effects...but really it can't have any effect on the state of the system, not just unintended...* continued babbling about semantics *




I imagine usage like




A pocket calculator's arithmetic is ___; using it to estimate how much post-tax money you'll have after winning the lottery will do nothing to improve your odds.




or




A voting booth should operate ____ly. A vote being cast for a candidate that results in that candidate being displayed higher for the next voter would be a severe flaw.











share|improve this question


















  • 1





    That's what the concept of pure function is. This is needed because in computer science the name function is used for callable pieces of code instead of functions in the mathematical sense.

    – mama
    12 hours ago











  • Yes it is a necessary concept. The problem is that there isn't a concise way (that I know of) to accurately convey the concept

    – Indigenuity
    12 hours ago













  • Many pocket calculators' functions aren't pure functions. Press +, 1 and then each time that you press = you add 1 to the number in the screen. The state changes each time, until eventually reaching the terminal state ERROR.

    – mama
    12 hours ago











  • Perhaps a poor example then. I struggled to find examples without getting too pedantic or deeply involved in the philosophical argument about whether it's even possible to do anything without changing the world in some way. Any physical (and most abstract) actions will have some effect on a system. In the case of the calculator, I tried to emphasize the specific context of affecting an external state, or a real side effect. The voting booth was intended to cover internal state from one moment to the next.

    – Indigenuity
    12 hours ago











  • The same way that to convey what a function is in mathematics requires giving the full definition. You can only say it with one word, function, when your interlocutor already knows the concept. A concept that took centuries to shape and that even today most calculus books get/use it wrong.

    – mama
    12 hours ago
















1












1








1








In computer science and mathematics, the word idempotent is used to describe a process that can be repeated any number of times, always leading to the same, predictable outcome.



Is there a single word for the similar concept of "having no side effects"? A word to describe a process that can be repeated any number of times without ever changing the state of the world (or system) around it? If I were to fabricate such a word it would be something cumbersome like enviroimpotent.



Such a word would be extremely useful in situations like this question, where there are imprecise and confusing phrases like




A pure function is idempotent and has no side effects...but really it can't have any effect on the state of the system, not just unintended...* continued babbling about semantics *




I imagine usage like




A pocket calculator's arithmetic is ___; using it to estimate how much post-tax money you'll have after winning the lottery will do nothing to improve your odds.




or




A voting booth should operate ____ly. A vote being cast for a candidate that results in that candidate being displayed higher for the next voter would be a severe flaw.











share|improve this question














In computer science and mathematics, the word idempotent is used to describe a process that can be repeated any number of times, always leading to the same, predictable outcome.



Is there a single word for the similar concept of "having no side effects"? A word to describe a process that can be repeated any number of times without ever changing the state of the world (or system) around it? If I were to fabricate such a word it would be something cumbersome like enviroimpotent.



Such a word would be extremely useful in situations like this question, where there are imprecise and confusing phrases like




A pure function is idempotent and has no side effects...but really it can't have any effect on the state of the system, not just unintended...* continued babbling about semantics *




I imagine usage like




A pocket calculator's arithmetic is ___; using it to estimate how much post-tax money you'll have after winning the lottery will do nothing to improve your odds.




or




A voting booth should operate ____ly. A vote being cast for a candidate that results in that candidate being displayed higher for the next voter would be a severe flaw.








single-word-requests






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 12 hours ago









IndigenuityIndigenuity

1916




1916








  • 1





    That's what the concept of pure function is. This is needed because in computer science the name function is used for callable pieces of code instead of functions in the mathematical sense.

    – mama
    12 hours ago











  • Yes it is a necessary concept. The problem is that there isn't a concise way (that I know of) to accurately convey the concept

    – Indigenuity
    12 hours ago













  • Many pocket calculators' functions aren't pure functions. Press +, 1 and then each time that you press = you add 1 to the number in the screen. The state changes each time, until eventually reaching the terminal state ERROR.

    – mama
    12 hours ago











  • Perhaps a poor example then. I struggled to find examples without getting too pedantic or deeply involved in the philosophical argument about whether it's even possible to do anything without changing the world in some way. Any physical (and most abstract) actions will have some effect on a system. In the case of the calculator, I tried to emphasize the specific context of affecting an external state, or a real side effect. The voting booth was intended to cover internal state from one moment to the next.

    – Indigenuity
    12 hours ago











  • The same way that to convey what a function is in mathematics requires giving the full definition. You can only say it with one word, function, when your interlocutor already knows the concept. A concept that took centuries to shape and that even today most calculus books get/use it wrong.

    – mama
    12 hours ago
















  • 1





    That's what the concept of pure function is. This is needed because in computer science the name function is used for callable pieces of code instead of functions in the mathematical sense.

    – mama
    12 hours ago











  • Yes it is a necessary concept. The problem is that there isn't a concise way (that I know of) to accurately convey the concept

    – Indigenuity
    12 hours ago













  • Many pocket calculators' functions aren't pure functions. Press +, 1 and then each time that you press = you add 1 to the number in the screen. The state changes each time, until eventually reaching the terminal state ERROR.

    – mama
    12 hours ago











  • Perhaps a poor example then. I struggled to find examples without getting too pedantic or deeply involved in the philosophical argument about whether it's even possible to do anything without changing the world in some way. Any physical (and most abstract) actions will have some effect on a system. In the case of the calculator, I tried to emphasize the specific context of affecting an external state, or a real side effect. The voting booth was intended to cover internal state from one moment to the next.

    – Indigenuity
    12 hours ago











  • The same way that to convey what a function is in mathematics requires giving the full definition. You can only say it with one word, function, when your interlocutor already knows the concept. A concept that took centuries to shape and that even today most calculus books get/use it wrong.

    – mama
    12 hours ago










1




1





That's what the concept of pure function is. This is needed because in computer science the name function is used for callable pieces of code instead of functions in the mathematical sense.

– mama
12 hours ago





That's what the concept of pure function is. This is needed because in computer science the name function is used for callable pieces of code instead of functions in the mathematical sense.

– mama
12 hours ago













Yes it is a necessary concept. The problem is that there isn't a concise way (that I know of) to accurately convey the concept

– Indigenuity
12 hours ago







Yes it is a necessary concept. The problem is that there isn't a concise way (that I know of) to accurately convey the concept

– Indigenuity
12 hours ago















Many pocket calculators' functions aren't pure functions. Press +, 1 and then each time that you press = you add 1 to the number in the screen. The state changes each time, until eventually reaching the terminal state ERROR.

– mama
12 hours ago





Many pocket calculators' functions aren't pure functions. Press +, 1 and then each time that you press = you add 1 to the number in the screen. The state changes each time, until eventually reaching the terminal state ERROR.

– mama
12 hours ago













Perhaps a poor example then. I struggled to find examples without getting too pedantic or deeply involved in the philosophical argument about whether it's even possible to do anything without changing the world in some way. Any physical (and most abstract) actions will have some effect on a system. In the case of the calculator, I tried to emphasize the specific context of affecting an external state, or a real side effect. The voting booth was intended to cover internal state from one moment to the next.

– Indigenuity
12 hours ago





Perhaps a poor example then. I struggled to find examples without getting too pedantic or deeply involved in the philosophical argument about whether it's even possible to do anything without changing the world in some way. Any physical (and most abstract) actions will have some effect on a system. In the case of the calculator, I tried to emphasize the specific context of affecting an external state, or a real side effect. The voting booth was intended to cover internal state from one moment to the next.

– Indigenuity
12 hours ago













The same way that to convey what a function is in mathematics requires giving the full definition. You can only say it with one word, function, when your interlocutor already knows the concept. A concept that took centuries to shape and that even today most calculus books get/use it wrong.

– mama
12 hours ago







The same way that to convey what a function is in mathematics requires giving the full definition. You can only say it with one word, function, when your interlocutor already knows the concept. A concept that took centuries to shape and that even today most calculus books get/use it wrong.

– mama
12 hours ago












1 Answer
1






active

oldest

votes


















0














Perhaps the concept you are looking for is decoupled. Try googling “bad code smells”, and you should find a few specific terms that apply to your situation.






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "97"
    };
    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',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    noCode: true, onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fenglish.stackexchange.com%2fquestions%2f484818%2fword-for-having-no-impact-on-state%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Perhaps the concept you are looking for is decoupled. Try googling “bad code smells”, and you should find a few specific terms that apply to your situation.






    share|improve this answer




























      0














      Perhaps the concept you are looking for is decoupled. Try googling “bad code smells”, and you should find a few specific terms that apply to your situation.






      share|improve this answer


























        0












        0








        0







        Perhaps the concept you are looking for is decoupled. Try googling “bad code smells”, and you should find a few specific terms that apply to your situation.






        share|improve this answer













        Perhaps the concept you are looking for is decoupled. Try googling “bad code smells”, and you should find a few specific terms that apply to your situation.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 4 hours ago









        Global CharmGlobal Charm

        2,6712412




        2,6712412






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to English Language & Usage Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fenglish.stackexchange.com%2fquestions%2f484818%2fword-for-having-no-impact-on-state%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            "Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

            Alcedinidae

            RAC Tourist Trophy