Word meaning both create and update?












38














I'd like to know if someone has a better word than authored or produced, for both creating and updating something.



Context:
I'm a software developer and I'm trying to think of a clever way to name the function that will initially create an object, and if it's already created, update it.










share|improve this question




















  • 3




    Crupdate? Someone had the same problem with you and neologized crupdate also :)
    – ermanen
    Feb 17 '15 at 2:42








  • 17




    The standard terminology in the RDBMS world is "upsert".
    – Dan Bron
    Feb 17 '15 at 2:55






  • 1




    Is it weird that I find these really funny? Thanks for the suggestions!
    – undefined
    Feb 17 '15 at 2:58










  • This question is better asked on a relevant tech Q&A or SO.
    – Kris
    Feb 17 '15 at 6:45






  • 1




    Exactly the question I had in mind. I went into the thesaurus after looking at the answers, and came up with these: manage, commit, save, renew, refresh, maintain, secure, store, support, install, keep, store, stash, ... I think I like save, because in the context of computers (operating systems, actually), saving a file means both creating one if it doesn't exists, and updating it if it already exists.
    – ADTC
    Mar 12 '16 at 12:59
















38














I'd like to know if someone has a better word than authored or produced, for both creating and updating something.



Context:
I'm a software developer and I'm trying to think of a clever way to name the function that will initially create an object, and if it's already created, update it.










share|improve this question




















  • 3




    Crupdate? Someone had the same problem with you and neologized crupdate also :)
    – ermanen
    Feb 17 '15 at 2:42








  • 17




    The standard terminology in the RDBMS world is "upsert".
    – Dan Bron
    Feb 17 '15 at 2:55






  • 1




    Is it weird that I find these really funny? Thanks for the suggestions!
    – undefined
    Feb 17 '15 at 2:58










  • This question is better asked on a relevant tech Q&A or SO.
    – Kris
    Feb 17 '15 at 6:45






  • 1




    Exactly the question I had in mind. I went into the thesaurus after looking at the answers, and came up with these: manage, commit, save, renew, refresh, maintain, secure, store, support, install, keep, store, stash, ... I think I like save, because in the context of computers (operating systems, actually), saving a file means both creating one if it doesn't exists, and updating it if it already exists.
    – ADTC
    Mar 12 '16 at 12:59














38












38








38


3





I'd like to know if someone has a better word than authored or produced, for both creating and updating something.



Context:
I'm a software developer and I'm trying to think of a clever way to name the function that will initially create an object, and if it's already created, update it.










share|improve this question















I'd like to know if someone has a better word than authored or produced, for both creating and updating something.



Context:
I'm a software developer and I'm trying to think of a clever way to name the function that will initially create an object, and if it's already created, update it.







single-word-requests verbs






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 8 at 14:51









choster

36.3k1483133




36.3k1483133










asked Feb 17 '15 at 2:11









undefined

305247




305247








  • 3




    Crupdate? Someone had the same problem with you and neologized crupdate also :)
    – ermanen
    Feb 17 '15 at 2:42








  • 17




    The standard terminology in the RDBMS world is "upsert".
    – Dan Bron
    Feb 17 '15 at 2:55






  • 1




    Is it weird that I find these really funny? Thanks for the suggestions!
    – undefined
    Feb 17 '15 at 2:58










  • This question is better asked on a relevant tech Q&A or SO.
    – Kris
    Feb 17 '15 at 6:45






  • 1




    Exactly the question I had in mind. I went into the thesaurus after looking at the answers, and came up with these: manage, commit, save, renew, refresh, maintain, secure, store, support, install, keep, store, stash, ... I think I like save, because in the context of computers (operating systems, actually), saving a file means both creating one if it doesn't exists, and updating it if it already exists.
    – ADTC
    Mar 12 '16 at 12:59














  • 3




    Crupdate? Someone had the same problem with you and neologized crupdate also :)
    – ermanen
    Feb 17 '15 at 2:42








  • 17




    The standard terminology in the RDBMS world is "upsert".
    – Dan Bron
    Feb 17 '15 at 2:55






  • 1




    Is it weird that I find these really funny? Thanks for the suggestions!
    – undefined
    Feb 17 '15 at 2:58










  • This question is better asked on a relevant tech Q&A or SO.
    – Kris
    Feb 17 '15 at 6:45






  • 1




    Exactly the question I had in mind. I went into the thesaurus after looking at the answers, and came up with these: manage, commit, save, renew, refresh, maintain, secure, store, support, install, keep, store, stash, ... I think I like save, because in the context of computers (operating systems, actually), saving a file means both creating one if it doesn't exists, and updating it if it already exists.
    – ADTC
    Mar 12 '16 at 12:59








3




3




Crupdate? Someone had the same problem with you and neologized crupdate also :)
– ermanen
Feb 17 '15 at 2:42






Crupdate? Someone had the same problem with you and neologized crupdate also :)
– ermanen
Feb 17 '15 at 2:42






17




17




The standard terminology in the RDBMS world is "upsert".
– Dan Bron
Feb 17 '15 at 2:55




The standard terminology in the RDBMS world is "upsert".
– Dan Bron
Feb 17 '15 at 2:55




1




1




Is it weird that I find these really funny? Thanks for the suggestions!
– undefined
Feb 17 '15 at 2:58




Is it weird that I find these really funny? Thanks for the suggestions!
– undefined
Feb 17 '15 at 2:58












This question is better asked on a relevant tech Q&A or SO.
– Kris
Feb 17 '15 at 6:45




This question is better asked on a relevant tech Q&A or SO.
– Kris
Feb 17 '15 at 6:45




1




1




Exactly the question I had in mind. I went into the thesaurus after looking at the answers, and came up with these: manage, commit, save, renew, refresh, maintain, secure, store, support, install, keep, store, stash, ... I think I like save, because in the context of computers (operating systems, actually), saving a file means both creating one if it doesn't exists, and updating it if it already exists.
– ADTC
Mar 12 '16 at 12:59




Exactly the question I had in mind. I went into the thesaurus after looking at the answers, and came up with these: manage, commit, save, renew, refresh, maintain, secure, store, support, install, keep, store, stash, ... I think I like save, because in the context of computers (operating systems, actually), saving a file means both creating one if it doesn't exists, and updating it if it already exists.
– ADTC
Mar 12 '16 at 12:59










9 Answers
9






active

oldest

votes


















32














"Save" seems perfect for this. As a developer I'd read "SaveRecord" as either inserting or updating the record depending on its preexistence.






share|improve this answer





















  • I like it! In the context of computers (operating systems, actually), saving a file means both creating one if it doesn't exists, and updating it if it already exists. A programmer is also a user, so it's very relatable (indeed, we save our source code, don't we?).
    – ADTC
    Mar 12 '16 at 13:03



















8














Since you stated you're dealing with JavaScript, I'll offer 'assign' as a handy verb. In most programming languages, you need to declare an object property before assigning it, but in JavaScript the assignment operator ('=') both updates and creates properties (when they don't exist).



So if you have your generic object here, and you want to create/update properties of that object using a single function call, you're essentially assigning values to the properties of the object. Creation is implied.



 myObject.prototype.assignProperties = (property, value) => this.property = value;


The only activity carried out in the function is 'assign' by the assignment operator. If the property doesn't exist, it is created.



Source: I'm a software engineer working with JavaScript regularly (FireFox OS applications).






share|improve this answer





















  • Thanks! Another really nice solution though I still prefer set because it's much shorter, and abbreviating assign would give me, well..ass
    – undefined
    Feb 17 '15 at 2:55










  • I work in Tokyo, so 'assData', 'assProps', 'assTime', etc. would be happily unnoticed ;) A wonderful idea for when morale dips.
    – Coty Johnathan Saxman
    Feb 17 '15 at 3:01



















5














Sometimes set is used in programming to refer to both creating and updating. It can depend on the language - some languages clearly separate the two operations, some do not.



Some languages try to be clear by not using a single verb for this. For example, SQL uses the verb CREATE OR REPLACE to mean exactly what it says (and what you said).



My suggestion is to check with your language and its users, to see what vocabulary is typically used for this in the particular context.






share|improve this answer

















  • 1




    Thanks! set is a really good option, I'm working with JavaScript, I'll see if anyone else comes up with something different :)
    – undefined
    Feb 17 '15 at 2:16








  • 1




    Just make sure that you can create a JavaScript object using the same operation as you use to update it. If not, then talking about setting it is not so appropriate. Typically, with OOP languages (such as JavaScript), the creation of an instance is done one way (e.g. with a constructor), and updating is done another way (e.g. with a setter function).
    – Drew
    Feb 17 '15 at 2:18










  • @Drew JavaScript is very forgiving when it comes to things like that. You can certainly make 'classes' and instantiate objects and implement constructors, but at times when it suits you to build-as-you-go, creating and setting with the same function is actually quite natural.
    – Coty Johnathan Saxman
    Feb 17 '15 at 2:56










  • @CotyJohnathanSaxman: Yes.
    – Drew
    Feb 17 '15 at 2:57



















4














I believe it was mentioned in a comment, but Store is very applicable.



Moreover, Store matches in character count to Fetch, which, if you're insane like me, is a quality you value in naming conventions.



function store(val: *);

function fetch(key: *);

function erase(key: *); // or purge()





share|improve this answer



















  • 2




    +1 for acknowledging your own insanity, which I share, to be honest.
    – undefined
    Oct 29 at 23:16



















3














Within the context of development if you are appling some CRUD changes in one operation I usually opt for "sync" or "synchronize" as a method name.






share|improve this answer































    1














    Populate may be appropriate. When you create or update an object, you typically "populate" the object with new property values.






    share|improve this answer





























      1














      Key-Value stores often use put to create/update and get to retrieve.



      I'm late to the party but mention it because save (the accepted and popular answer) suggests that the thing being created or updated is persisted as well. That might or might not be the case. Often persisting is within transactions and done with commit. So if you use save to create or update the object it might still not be saved. In fact, usually isn't saved.






      share|improve this answer








      New contributor




      Peter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.


























        0














        I am using upinit "word" for this. In DB world, there is upsert (update or insert). Why not to have update or init?






        share|improve this answer





























          0














          In SQL terminology merge term is used for this: https://en.wikipedia.org/wiki/Merge_(SQL)



          This is a synonym of upsert (update + insert) which, in my opinion, suits even better, because its meaning is explicit.






          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%2f227915%2fword-meaning-both-create-and-update%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            9 Answers
            9






            active

            oldest

            votes








            9 Answers
            9






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            32














            "Save" seems perfect for this. As a developer I'd read "SaveRecord" as either inserting or updating the record depending on its preexistence.






            share|improve this answer





















            • I like it! In the context of computers (operating systems, actually), saving a file means both creating one if it doesn't exists, and updating it if it already exists. A programmer is also a user, so it's very relatable (indeed, we save our source code, don't we?).
              – ADTC
              Mar 12 '16 at 13:03
















            32














            "Save" seems perfect for this. As a developer I'd read "SaveRecord" as either inserting or updating the record depending on its preexistence.






            share|improve this answer





















            • I like it! In the context of computers (operating systems, actually), saving a file means both creating one if it doesn't exists, and updating it if it already exists. A programmer is also a user, so it's very relatable (indeed, we save our source code, don't we?).
              – ADTC
              Mar 12 '16 at 13:03














            32












            32








            32






            "Save" seems perfect for this. As a developer I'd read "SaveRecord" as either inserting or updating the record depending on its preexistence.






            share|improve this answer












            "Save" seems perfect for this. As a developer I'd read "SaveRecord" as either inserting or updating the record depending on its preexistence.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Dec 15 '15 at 18:17









            nollidge

            1,06378




            1,06378












            • I like it! In the context of computers (operating systems, actually), saving a file means both creating one if it doesn't exists, and updating it if it already exists. A programmer is also a user, so it's very relatable (indeed, we save our source code, don't we?).
              – ADTC
              Mar 12 '16 at 13:03


















            • I like it! In the context of computers (operating systems, actually), saving a file means both creating one if it doesn't exists, and updating it if it already exists. A programmer is also a user, so it's very relatable (indeed, we save our source code, don't we?).
              – ADTC
              Mar 12 '16 at 13:03
















            I like it! In the context of computers (operating systems, actually), saving a file means both creating one if it doesn't exists, and updating it if it already exists. A programmer is also a user, so it's very relatable (indeed, we save our source code, don't we?).
            – ADTC
            Mar 12 '16 at 13:03




            I like it! In the context of computers (operating systems, actually), saving a file means both creating one if it doesn't exists, and updating it if it already exists. A programmer is also a user, so it's very relatable (indeed, we save our source code, don't we?).
            – ADTC
            Mar 12 '16 at 13:03













            8














            Since you stated you're dealing with JavaScript, I'll offer 'assign' as a handy verb. In most programming languages, you need to declare an object property before assigning it, but in JavaScript the assignment operator ('=') both updates and creates properties (when they don't exist).



            So if you have your generic object here, and you want to create/update properties of that object using a single function call, you're essentially assigning values to the properties of the object. Creation is implied.



             myObject.prototype.assignProperties = (property, value) => this.property = value;


            The only activity carried out in the function is 'assign' by the assignment operator. If the property doesn't exist, it is created.



            Source: I'm a software engineer working with JavaScript regularly (FireFox OS applications).






            share|improve this answer





















            • Thanks! Another really nice solution though I still prefer set because it's much shorter, and abbreviating assign would give me, well..ass
              – undefined
              Feb 17 '15 at 2:55










            • I work in Tokyo, so 'assData', 'assProps', 'assTime', etc. would be happily unnoticed ;) A wonderful idea for when morale dips.
              – Coty Johnathan Saxman
              Feb 17 '15 at 3:01
















            8














            Since you stated you're dealing with JavaScript, I'll offer 'assign' as a handy verb. In most programming languages, you need to declare an object property before assigning it, but in JavaScript the assignment operator ('=') both updates and creates properties (when they don't exist).



            So if you have your generic object here, and you want to create/update properties of that object using a single function call, you're essentially assigning values to the properties of the object. Creation is implied.



             myObject.prototype.assignProperties = (property, value) => this.property = value;


            The only activity carried out in the function is 'assign' by the assignment operator. If the property doesn't exist, it is created.



            Source: I'm a software engineer working with JavaScript regularly (FireFox OS applications).






            share|improve this answer





















            • Thanks! Another really nice solution though I still prefer set because it's much shorter, and abbreviating assign would give me, well..ass
              – undefined
              Feb 17 '15 at 2:55










            • I work in Tokyo, so 'assData', 'assProps', 'assTime', etc. would be happily unnoticed ;) A wonderful idea for when morale dips.
              – Coty Johnathan Saxman
              Feb 17 '15 at 3:01














            8












            8








            8






            Since you stated you're dealing with JavaScript, I'll offer 'assign' as a handy verb. In most programming languages, you need to declare an object property before assigning it, but in JavaScript the assignment operator ('=') both updates and creates properties (when they don't exist).



            So if you have your generic object here, and you want to create/update properties of that object using a single function call, you're essentially assigning values to the properties of the object. Creation is implied.



             myObject.prototype.assignProperties = (property, value) => this.property = value;


            The only activity carried out in the function is 'assign' by the assignment operator. If the property doesn't exist, it is created.



            Source: I'm a software engineer working with JavaScript regularly (FireFox OS applications).






            share|improve this answer












            Since you stated you're dealing with JavaScript, I'll offer 'assign' as a handy verb. In most programming languages, you need to declare an object property before assigning it, but in JavaScript the assignment operator ('=') both updates and creates properties (when they don't exist).



            So if you have your generic object here, and you want to create/update properties of that object using a single function call, you're essentially assigning values to the properties of the object. Creation is implied.



             myObject.prototype.assignProperties = (property, value) => this.property = value;


            The only activity carried out in the function is 'assign' by the assignment operator. If the property doesn't exist, it is created.



            Source: I'm a software engineer working with JavaScript regularly (FireFox OS applications).







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Feb 17 '15 at 2:43









            Coty Johnathan Saxman

            1,70659




            1,70659












            • Thanks! Another really nice solution though I still prefer set because it's much shorter, and abbreviating assign would give me, well..ass
              – undefined
              Feb 17 '15 at 2:55










            • I work in Tokyo, so 'assData', 'assProps', 'assTime', etc. would be happily unnoticed ;) A wonderful idea for when morale dips.
              – Coty Johnathan Saxman
              Feb 17 '15 at 3:01


















            • Thanks! Another really nice solution though I still prefer set because it's much shorter, and abbreviating assign would give me, well..ass
              – undefined
              Feb 17 '15 at 2:55










            • I work in Tokyo, so 'assData', 'assProps', 'assTime', etc. would be happily unnoticed ;) A wonderful idea for when morale dips.
              – Coty Johnathan Saxman
              Feb 17 '15 at 3:01
















            Thanks! Another really nice solution though I still prefer set because it's much shorter, and abbreviating assign would give me, well..ass
            – undefined
            Feb 17 '15 at 2:55




            Thanks! Another really nice solution though I still prefer set because it's much shorter, and abbreviating assign would give me, well..ass
            – undefined
            Feb 17 '15 at 2:55












            I work in Tokyo, so 'assData', 'assProps', 'assTime', etc. would be happily unnoticed ;) A wonderful idea for when morale dips.
            – Coty Johnathan Saxman
            Feb 17 '15 at 3:01




            I work in Tokyo, so 'assData', 'assProps', 'assTime', etc. would be happily unnoticed ;) A wonderful idea for when morale dips.
            – Coty Johnathan Saxman
            Feb 17 '15 at 3:01











            5














            Sometimes set is used in programming to refer to both creating and updating. It can depend on the language - some languages clearly separate the two operations, some do not.



            Some languages try to be clear by not using a single verb for this. For example, SQL uses the verb CREATE OR REPLACE to mean exactly what it says (and what you said).



            My suggestion is to check with your language and its users, to see what vocabulary is typically used for this in the particular context.






            share|improve this answer

















            • 1




              Thanks! set is a really good option, I'm working with JavaScript, I'll see if anyone else comes up with something different :)
              – undefined
              Feb 17 '15 at 2:16








            • 1




              Just make sure that you can create a JavaScript object using the same operation as you use to update it. If not, then talking about setting it is not so appropriate. Typically, with OOP languages (such as JavaScript), the creation of an instance is done one way (e.g. with a constructor), and updating is done another way (e.g. with a setter function).
              – Drew
              Feb 17 '15 at 2:18










            • @Drew JavaScript is very forgiving when it comes to things like that. You can certainly make 'classes' and instantiate objects and implement constructors, but at times when it suits you to build-as-you-go, creating and setting with the same function is actually quite natural.
              – Coty Johnathan Saxman
              Feb 17 '15 at 2:56










            • @CotyJohnathanSaxman: Yes.
              – Drew
              Feb 17 '15 at 2:57
















            5














            Sometimes set is used in programming to refer to both creating and updating. It can depend on the language - some languages clearly separate the two operations, some do not.



            Some languages try to be clear by not using a single verb for this. For example, SQL uses the verb CREATE OR REPLACE to mean exactly what it says (and what you said).



            My suggestion is to check with your language and its users, to see what vocabulary is typically used for this in the particular context.






            share|improve this answer

















            • 1




              Thanks! set is a really good option, I'm working with JavaScript, I'll see if anyone else comes up with something different :)
              – undefined
              Feb 17 '15 at 2:16








            • 1




              Just make sure that you can create a JavaScript object using the same operation as you use to update it. If not, then talking about setting it is not so appropriate. Typically, with OOP languages (such as JavaScript), the creation of an instance is done one way (e.g. with a constructor), and updating is done another way (e.g. with a setter function).
              – Drew
              Feb 17 '15 at 2:18










            • @Drew JavaScript is very forgiving when it comes to things like that. You can certainly make 'classes' and instantiate objects and implement constructors, but at times when it suits you to build-as-you-go, creating and setting with the same function is actually quite natural.
              – Coty Johnathan Saxman
              Feb 17 '15 at 2:56










            • @CotyJohnathanSaxman: Yes.
              – Drew
              Feb 17 '15 at 2:57














            5












            5








            5






            Sometimes set is used in programming to refer to both creating and updating. It can depend on the language - some languages clearly separate the two operations, some do not.



            Some languages try to be clear by not using a single verb for this. For example, SQL uses the verb CREATE OR REPLACE to mean exactly what it says (and what you said).



            My suggestion is to check with your language and its users, to see what vocabulary is typically used for this in the particular context.






            share|improve this answer












            Sometimes set is used in programming to refer to both creating and updating. It can depend on the language - some languages clearly separate the two operations, some do not.



            Some languages try to be clear by not using a single verb for this. For example, SQL uses the verb CREATE OR REPLACE to mean exactly what it says (and what you said).



            My suggestion is to check with your language and its users, to see what vocabulary is typically used for this in the particular context.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Feb 17 '15 at 2:14









            Drew

            13.9k93055




            13.9k93055








            • 1




              Thanks! set is a really good option, I'm working with JavaScript, I'll see if anyone else comes up with something different :)
              – undefined
              Feb 17 '15 at 2:16








            • 1




              Just make sure that you can create a JavaScript object using the same operation as you use to update it. If not, then talking about setting it is not so appropriate. Typically, with OOP languages (such as JavaScript), the creation of an instance is done one way (e.g. with a constructor), and updating is done another way (e.g. with a setter function).
              – Drew
              Feb 17 '15 at 2:18










            • @Drew JavaScript is very forgiving when it comes to things like that. You can certainly make 'classes' and instantiate objects and implement constructors, but at times when it suits you to build-as-you-go, creating and setting with the same function is actually quite natural.
              – Coty Johnathan Saxman
              Feb 17 '15 at 2:56










            • @CotyJohnathanSaxman: Yes.
              – Drew
              Feb 17 '15 at 2:57














            • 1




              Thanks! set is a really good option, I'm working with JavaScript, I'll see if anyone else comes up with something different :)
              – undefined
              Feb 17 '15 at 2:16








            • 1




              Just make sure that you can create a JavaScript object using the same operation as you use to update it. If not, then talking about setting it is not so appropriate. Typically, with OOP languages (such as JavaScript), the creation of an instance is done one way (e.g. with a constructor), and updating is done another way (e.g. with a setter function).
              – Drew
              Feb 17 '15 at 2:18










            • @Drew JavaScript is very forgiving when it comes to things like that. You can certainly make 'classes' and instantiate objects and implement constructors, but at times when it suits you to build-as-you-go, creating and setting with the same function is actually quite natural.
              – Coty Johnathan Saxman
              Feb 17 '15 at 2:56










            • @CotyJohnathanSaxman: Yes.
              – Drew
              Feb 17 '15 at 2:57








            1




            1




            Thanks! set is a really good option, I'm working with JavaScript, I'll see if anyone else comes up with something different :)
            – undefined
            Feb 17 '15 at 2:16






            Thanks! set is a really good option, I'm working with JavaScript, I'll see if anyone else comes up with something different :)
            – undefined
            Feb 17 '15 at 2:16






            1




            1




            Just make sure that you can create a JavaScript object using the same operation as you use to update it. If not, then talking about setting it is not so appropriate. Typically, with OOP languages (such as JavaScript), the creation of an instance is done one way (e.g. with a constructor), and updating is done another way (e.g. with a setter function).
            – Drew
            Feb 17 '15 at 2:18




            Just make sure that you can create a JavaScript object using the same operation as you use to update it. If not, then talking about setting it is not so appropriate. Typically, with OOP languages (such as JavaScript), the creation of an instance is done one way (e.g. with a constructor), and updating is done another way (e.g. with a setter function).
            – Drew
            Feb 17 '15 at 2:18












            @Drew JavaScript is very forgiving when it comes to things like that. You can certainly make 'classes' and instantiate objects and implement constructors, but at times when it suits you to build-as-you-go, creating and setting with the same function is actually quite natural.
            – Coty Johnathan Saxman
            Feb 17 '15 at 2:56




            @Drew JavaScript is very forgiving when it comes to things like that. You can certainly make 'classes' and instantiate objects and implement constructors, but at times when it suits you to build-as-you-go, creating and setting with the same function is actually quite natural.
            – Coty Johnathan Saxman
            Feb 17 '15 at 2:56












            @CotyJohnathanSaxman: Yes.
            – Drew
            Feb 17 '15 at 2:57




            @CotyJohnathanSaxman: Yes.
            – Drew
            Feb 17 '15 at 2:57











            4














            I believe it was mentioned in a comment, but Store is very applicable.



            Moreover, Store matches in character count to Fetch, which, if you're insane like me, is a quality you value in naming conventions.



            function store(val: *);

            function fetch(key: *);

            function erase(key: *); // or purge()





            share|improve this answer



















            • 2




              +1 for acknowledging your own insanity, which I share, to be honest.
              – undefined
              Oct 29 at 23:16
















            4














            I believe it was mentioned in a comment, but Store is very applicable.



            Moreover, Store matches in character count to Fetch, which, if you're insane like me, is a quality you value in naming conventions.



            function store(val: *);

            function fetch(key: *);

            function erase(key: *); // or purge()





            share|improve this answer



















            • 2




              +1 for acknowledging your own insanity, which I share, to be honest.
              – undefined
              Oct 29 at 23:16














            4












            4








            4






            I believe it was mentioned in a comment, but Store is very applicable.



            Moreover, Store matches in character count to Fetch, which, if you're insane like me, is a quality you value in naming conventions.



            function store(val: *);

            function fetch(key: *);

            function erase(key: *); // or purge()





            share|improve this answer














            I believe it was mentioned in a comment, but Store is very applicable.



            Moreover, Store matches in character count to Fetch, which, if you're insane like me, is a quality you value in naming conventions.



            function store(val: *);

            function fetch(key: *);

            function erase(key: *); // or purge()






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Oct 28 at 3:57

























            answered Oct 28 at 3:46









            Dan Lugg

            1414




            1414








            • 2




              +1 for acknowledging your own insanity, which I share, to be honest.
              – undefined
              Oct 29 at 23:16














            • 2




              +1 for acknowledging your own insanity, which I share, to be honest.
              – undefined
              Oct 29 at 23:16








            2




            2




            +1 for acknowledging your own insanity, which I share, to be honest.
            – undefined
            Oct 29 at 23:16




            +1 for acknowledging your own insanity, which I share, to be honest.
            – undefined
            Oct 29 at 23:16











            3














            Within the context of development if you are appling some CRUD changes in one operation I usually opt for "sync" or "synchronize" as a method name.






            share|improve this answer




























              3














              Within the context of development if you are appling some CRUD changes in one operation I usually opt for "sync" or "synchronize" as a method name.






              share|improve this answer


























                3












                3








                3






                Within the context of development if you are appling some CRUD changes in one operation I usually opt for "sync" or "synchronize" as a method name.






                share|improve this answer














                Within the context of development if you are appling some CRUD changes in one operation I usually opt for "sync" or "synchronize" as a method name.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jun 3 '15 at 13:51

























                answered Jun 2 '15 at 9:31









                Steve Whitfield

                1392




                1392























                    1














                    Populate may be appropriate. When you create or update an object, you typically "populate" the object with new property values.






                    share|improve this answer


























                      1














                      Populate may be appropriate. When you create or update an object, you typically "populate" the object with new property values.






                      share|improve this answer
























                        1












                        1








                        1






                        Populate may be appropriate. When you create or update an object, you typically "populate" the object with new property values.






                        share|improve this answer












                        Populate may be appropriate. When you create or update an object, you typically "populate" the object with new property values.







                        share|improve this answer












                        share|improve this answer



                        share|improve this answer










                        answered Dec 15 '15 at 18:09









                        James Lawruk

                        1193




                        1193























                            1














                            Key-Value stores often use put to create/update and get to retrieve.



                            I'm late to the party but mention it because save (the accepted and popular answer) suggests that the thing being created or updated is persisted as well. That might or might not be the case. Often persisting is within transactions and done with commit. So if you use save to create or update the object it might still not be saved. In fact, usually isn't saved.






                            share|improve this answer








                            New contributor




                            Peter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.























                              1














                              Key-Value stores often use put to create/update and get to retrieve.



                              I'm late to the party but mention it because save (the accepted and popular answer) suggests that the thing being created or updated is persisted as well. That might or might not be the case. Often persisting is within transactions and done with commit. So if you use save to create or update the object it might still not be saved. In fact, usually isn't saved.






                              share|improve this answer








                              New contributor




                              Peter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                              Check out our Code of Conduct.





















                                1












                                1








                                1






                                Key-Value stores often use put to create/update and get to retrieve.



                                I'm late to the party but mention it because save (the accepted and popular answer) suggests that the thing being created or updated is persisted as well. That might or might not be the case. Often persisting is within transactions and done with commit. So if you use save to create or update the object it might still not be saved. In fact, usually isn't saved.






                                share|improve this answer








                                New contributor




                                Peter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                Check out our Code of Conduct.









                                Key-Value stores often use put to create/update and get to retrieve.



                                I'm late to the party but mention it because save (the accepted and popular answer) suggests that the thing being created or updated is persisted as well. That might or might not be the case. Often persisting is within transactions and done with commit. So if you use save to create or update the object it might still not be saved. In fact, usually isn't saved.







                                share|improve this answer








                                New contributor




                                Peter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                Check out our Code of Conduct.









                                share|improve this answer



                                share|improve this answer






                                New contributor




                                Peter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                Check out our Code of Conduct.









                                answered 2 days ago









                                Peter

                                111




                                111




                                New contributor




                                Peter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                Check out our Code of Conduct.





                                New contributor





                                Peter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                Check out our Code of Conduct.






                                Peter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                Check out our Code of Conduct.























                                    0














                                    I am using upinit "word" for this. In DB world, there is upsert (update or insert). Why not to have update or init?






                                    share|improve this answer


























                                      0














                                      I am using upinit "word" for this. In DB world, there is upsert (update or insert). Why not to have update or init?






                                      share|improve this answer
























                                        0












                                        0








                                        0






                                        I am using upinit "word" for this. In DB world, there is upsert (update or insert). Why not to have update or init?






                                        share|improve this answer












                                        I am using upinit "word" for this. In DB world, there is upsert (update or insert). Why not to have update or init?







                                        share|improve this answer












                                        share|improve this answer



                                        share|improve this answer










                                        answered Oct 8 at 14:38









                                        rnd

                                        1




                                        1























                                            0














                                            In SQL terminology merge term is used for this: https://en.wikipedia.org/wiki/Merge_(SQL)



                                            This is a synonym of upsert (update + insert) which, in my opinion, suits even better, because its meaning is explicit.






                                            share|improve this answer


























                                              0














                                              In SQL terminology merge term is used for this: https://en.wikipedia.org/wiki/Merge_(SQL)



                                              This is a synonym of upsert (update + insert) which, in my opinion, suits even better, because its meaning is explicit.






                                              share|improve this answer
























                                                0












                                                0








                                                0






                                                In SQL terminology merge term is used for this: https://en.wikipedia.org/wiki/Merge_(SQL)



                                                This is a synonym of upsert (update + insert) which, in my opinion, suits even better, because its meaning is explicit.






                                                share|improve this answer












                                                In SQL terminology merge term is used for this: https://en.wikipedia.org/wiki/Merge_(SQL)



                                                This is a synonym of upsert (update + insert) which, in my opinion, suits even better, because its meaning is explicit.







                                                share|improve this answer












                                                share|improve this answer



                                                share|improve this answer










                                                answered Nov 3 at 9:54









                                                Yan Takushevich

                                                1012




                                                1012






























                                                    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.





                                                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                                                    Please pay close attention to the following guidance:


                                                    • 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%2f227915%2fword-meaning-both-create-and-update%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