Finding a better name for “context” or “variant” for describing a software object concept
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{
margin-bottom:0;
}
Problem:
In a software product, there is the possibility to define sets of parameters
(key, value pairs). The functionality is encapsulated in an object in the
code, to be reused by programmers wherever the functionality is needed.
Those parameter sets objects must have a name.
There is a second level of naming: it is possible to define multiple "versions" of the parameter values, each set of values being also identified with a name.
So, the EXPERIMENT
parameters set can have fields like:
- sample name
- date
- data directory
There would be experiment 1
with some values, and experiment 2
with
different values.
How would you call "experiment 1" and "experiment 2" ?
I came with context, could also be variant or similar...
Indeed one can display the value of EXPERIMENT.contexts
and see ['experiment1, 'experiment 2']
and then it is possible to switch to or activate "experiment 1" or "experiment 2" to get updated parameters values
for the EXPERIMENT
object.
(sorry for the long description but it is not an easy thing to describe !)
Question: would you help me finding better names for the contexts/variants ? And for the parameters set object ?
Thanks in advance !
word-usage terminology programming
add a comment
|
Problem:
In a software product, there is the possibility to define sets of parameters
(key, value pairs). The functionality is encapsulated in an object in the
code, to be reused by programmers wherever the functionality is needed.
Those parameter sets objects must have a name.
There is a second level of naming: it is possible to define multiple "versions" of the parameter values, each set of values being also identified with a name.
So, the EXPERIMENT
parameters set can have fields like:
- sample name
- date
- data directory
There would be experiment 1
with some values, and experiment 2
with
different values.
How would you call "experiment 1" and "experiment 2" ?
I came with context, could also be variant or similar...
Indeed one can display the value of EXPERIMENT.contexts
and see ['experiment1, 'experiment 2']
and then it is possible to switch to or activate "experiment 1" or "experiment 2" to get updated parameters values
for the EXPERIMENT
object.
(sorry for the long description but it is not an easy thing to describe !)
Question: would you help me finding better names for the contexts/variants ? And for the parameters set object ?
Thanks in advance !
word-usage terminology programming
How about instances? experiment_1 and experiment_2 are both instances of EXPERIMENT. And EXPERIMENT is an object. Seems pretty straight-forward to me
– jonathan.scholbach
May 28 at 12:58
instances is not bad, but it is connoted in object-oriented programming. In reality "experiment 1" and "experiment 2" are not instances of "EXPERIMENT" (in the OOP sense). EXPERIMENT is an instance of a class, but the other two are "views" (or similar... this is what I am searching for) of the parameters with different values
– mguijarr
May 28 at 13:00
I know the notion is reserved in OOP, but from a more logical pov, this is still an instance. Other ideas: You could call EXPERIMENT a concept, and experiment 1 could be called realization, for instance.
– jonathan.scholbach
May 28 at 13:03
add a comment
|
Problem:
In a software product, there is the possibility to define sets of parameters
(key, value pairs). The functionality is encapsulated in an object in the
code, to be reused by programmers wherever the functionality is needed.
Those parameter sets objects must have a name.
There is a second level of naming: it is possible to define multiple "versions" of the parameter values, each set of values being also identified with a name.
So, the EXPERIMENT
parameters set can have fields like:
- sample name
- date
- data directory
There would be experiment 1
with some values, and experiment 2
with
different values.
How would you call "experiment 1" and "experiment 2" ?
I came with context, could also be variant or similar...
Indeed one can display the value of EXPERIMENT.contexts
and see ['experiment1, 'experiment 2']
and then it is possible to switch to or activate "experiment 1" or "experiment 2" to get updated parameters values
for the EXPERIMENT
object.
(sorry for the long description but it is not an easy thing to describe !)
Question: would you help me finding better names for the contexts/variants ? And for the parameters set object ?
Thanks in advance !
word-usage terminology programming
Problem:
In a software product, there is the possibility to define sets of parameters
(key, value pairs). The functionality is encapsulated in an object in the
code, to be reused by programmers wherever the functionality is needed.
Those parameter sets objects must have a name.
There is a second level of naming: it is possible to define multiple "versions" of the parameter values, each set of values being also identified with a name.
So, the EXPERIMENT
parameters set can have fields like:
- sample name
- date
- data directory
There would be experiment 1
with some values, and experiment 2
with
different values.
How would you call "experiment 1" and "experiment 2" ?
I came with context, could also be variant or similar...
Indeed one can display the value of EXPERIMENT.contexts
and see ['experiment1, 'experiment 2']
and then it is possible to switch to or activate "experiment 1" or "experiment 2" to get updated parameters values
for the EXPERIMENT
object.
(sorry for the long description but it is not an easy thing to describe !)
Question: would you help me finding better names for the contexts/variants ? And for the parameters set object ?
Thanks in advance !
word-usage terminology programming
word-usage terminology programming
asked May 28 at 12:56
mguijarrmguijarr
1215 bronze badges
1215 bronze badges
How about instances? experiment_1 and experiment_2 are both instances of EXPERIMENT. And EXPERIMENT is an object. Seems pretty straight-forward to me
– jonathan.scholbach
May 28 at 12:58
instances is not bad, but it is connoted in object-oriented programming. In reality "experiment 1" and "experiment 2" are not instances of "EXPERIMENT" (in the OOP sense). EXPERIMENT is an instance of a class, but the other two are "views" (or similar... this is what I am searching for) of the parameters with different values
– mguijarr
May 28 at 13:00
I know the notion is reserved in OOP, but from a more logical pov, this is still an instance. Other ideas: You could call EXPERIMENT a concept, and experiment 1 could be called realization, for instance.
– jonathan.scholbach
May 28 at 13:03
add a comment
|
How about instances? experiment_1 and experiment_2 are both instances of EXPERIMENT. And EXPERIMENT is an object. Seems pretty straight-forward to me
– jonathan.scholbach
May 28 at 12:58
instances is not bad, but it is connoted in object-oriented programming. In reality "experiment 1" and "experiment 2" are not instances of "EXPERIMENT" (in the OOP sense). EXPERIMENT is an instance of a class, but the other two are "views" (or similar... this is what I am searching for) of the parameters with different values
– mguijarr
May 28 at 13:00
I know the notion is reserved in OOP, but from a more logical pov, this is still an instance. Other ideas: You could call EXPERIMENT a concept, and experiment 1 could be called realization, for instance.
– jonathan.scholbach
May 28 at 13:03
How about instances? experiment_1 and experiment_2 are both instances of EXPERIMENT. And EXPERIMENT is an object. Seems pretty straight-forward to me
– jonathan.scholbach
May 28 at 12:58
How about instances? experiment_1 and experiment_2 are both instances of EXPERIMENT. And EXPERIMENT is an object. Seems pretty straight-forward to me
– jonathan.scholbach
May 28 at 12:58
instances is not bad, but it is connoted in object-oriented programming. In reality "experiment 1" and "experiment 2" are not instances of "EXPERIMENT" (in the OOP sense). EXPERIMENT is an instance of a class, but the other two are "views" (or similar... this is what I am searching for) of the parameters with different values
– mguijarr
May 28 at 13:00
instances is not bad, but it is connoted in object-oriented programming. In reality "experiment 1" and "experiment 2" are not instances of "EXPERIMENT" (in the OOP sense). EXPERIMENT is an instance of a class, but the other two are "views" (or similar... this is what I am searching for) of the parameters with different values
– mguijarr
May 28 at 13:00
I know the notion is reserved in OOP, but from a more logical pov, this is still an instance. Other ideas: You could call EXPERIMENT a concept, and experiment 1 could be called realization, for instance.
– jonathan.scholbach
May 28 at 13:03
I know the notion is reserved in OOP, but from a more logical pov, this is still an instance. Other ideas: You could call EXPERIMENT a concept, and experiment 1 could be called realization, for instance.
– jonathan.scholbach
May 28 at 13:03
add a comment
|
1 Answer
1
active
oldest
votes
In the FHIR system for medical data that would be a codeable concept.
http://hl7.org/fhir/DSTU2/datatypes.html#CodeableConcept for JSON or the java class in HL7 is org.hl7.fhir.instance.model.CodeableConcept;
You can see how it's used for in the Procedure resource for example where they are used to save procedure codes, the body site etc.
http://hl7.org/fhir/DSTU2/procedure.html
add a comment
|
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/4.0/"u003ecc by-sa 4.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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fenglish.stackexchange.com%2fquestions%2f499963%2ffinding-a-better-name-for-context-or-variant-for-describing-a-software-objec%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
In the FHIR system for medical data that would be a codeable concept.
http://hl7.org/fhir/DSTU2/datatypes.html#CodeableConcept for JSON or the java class in HL7 is org.hl7.fhir.instance.model.CodeableConcept;
You can see how it's used for in the Procedure resource for example where they are used to save procedure codes, the body site etc.
http://hl7.org/fhir/DSTU2/procedure.html
add a comment
|
In the FHIR system for medical data that would be a codeable concept.
http://hl7.org/fhir/DSTU2/datatypes.html#CodeableConcept for JSON or the java class in HL7 is org.hl7.fhir.instance.model.CodeableConcept;
You can see how it's used for in the Procedure resource for example where they are used to save procedure codes, the body site etc.
http://hl7.org/fhir/DSTU2/procedure.html
add a comment
|
In the FHIR system for medical data that would be a codeable concept.
http://hl7.org/fhir/DSTU2/datatypes.html#CodeableConcept for JSON or the java class in HL7 is org.hl7.fhir.instance.model.CodeableConcept;
You can see how it's used for in the Procedure resource for example where they are used to save procedure codes, the body site etc.
http://hl7.org/fhir/DSTU2/procedure.html
In the FHIR system for medical data that would be a codeable concept.
http://hl7.org/fhir/DSTU2/datatypes.html#CodeableConcept for JSON or the java class in HL7 is org.hl7.fhir.instance.model.CodeableConcept;
You can see how it's used for in the Procedure resource for example where they are used to save procedure codes, the body site etc.
http://hl7.org/fhir/DSTU2/procedure.html
answered May 28 at 14:24
WudangWudang
2,7108 silver badges13 bronze badges
2,7108 silver badges13 bronze badges
add a comment
|
add a comment
|
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fenglish.stackexchange.com%2fquestions%2f499963%2ffinding-a-better-name-for-context-or-variant-for-describing-a-software-objec%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
How about instances? experiment_1 and experiment_2 are both instances of EXPERIMENT. And EXPERIMENT is an object. Seems pretty straight-forward to me
– jonathan.scholbach
May 28 at 12:58
instances is not bad, but it is connoted in object-oriented programming. In reality "experiment 1" and "experiment 2" are not instances of "EXPERIMENT" (in the OOP sense). EXPERIMENT is an instance of a class, but the other two are "views" (or similar... this is what I am searching for) of the parameters with different values
– mguijarr
May 28 at 13:00
I know the notion is reserved in OOP, but from a more logical pov, this is still an instance. Other ideas: You could call EXPERIMENT a concept, and experiment 1 could be called realization, for instance.
– jonathan.scholbach
May 28 at 13:03