Click here to Skip to main content
15,868,016 members
Please Sign up or sign in to vote.
5.00/5 (2 votes)
See more:
I'm developing something akin to an ad-hoc query interface, and in this UI, the user is allowed to select AND or OR to add more conditions to the query.

What would you call this column? I'm using "Continuation", but I'm interested in finding a better 9and possibly shorter) word to use in its place. I can't use "operator" because I'm already using that for the various equality operators.

It has to be something that would be understandable by a non-programmer end user.
Posted
Updated 2-Jul-12 10:35am
v2
Comments
[no name] 2-Jul-12 16:48pm    
Condition?
#realJSOP 2-Jul-12 18:20pm    
The "condition" is regarded as the entire phrase, but nice try. :)
Sergey Alexandrovich Kryukov 2-Jul-12 20:06pm    
Now, let me understand this better.
You have a tree. Nodes are "operators", OK, arcs of the tree are "operands", and the whole thing is an "expression tree", which represents some "condition". What do you need to name: and operator, operand or the whole tree?

--SA

As you understand, what you do is essentially some expression tree expressed in terms of application data, most likely probably also a tree. As I understand, you are using it in the SQL WHERE clause (or anything else?), but it does not give me an idea of the term. I think you should based it on the idea of the expression tree. A one-word term? Maybe, just "Expression" or "Expression" :-).

By the way, it would nice and very usable also to present this user's data as a visual tree-like representation, which would make the word "tree" redundant, and the word "Expression" less confusing.

Well, just one idea for now…

—SA
 
Share this answer
 
v2
Comments
Vitaly Tomilov 2-Jul-12 19:10pm    
Word 'Expression' does not signify an action, and I believe he needs a word that's in itself is an action ;) I offered a few below ;) Perhaps FILTER is the most pertinent in this case ;)
Sergey Alexandrovich Kryukov 2-Jul-12 20:05pm    
It is not supposed to signify an action. This is the user-modifiable data structure. Expression is actually the closest; the issue is to be explanatory.
Filter I don't understand -- is it just because it could be understood as both noun and a verb (to filter)?
--SA
Vitaly Tomilov 2-Jul-12 20:14pm    
Well, he is asking for a word that best suits a column that contains AND and OR statements for the selection - isn't that a filter?
Espen Harlinn 3-Jul-12 16:21pm    
Oh, you mean a filter expression ;)
Espen Harlinn 3-Jul-12 16:22pm    
5'ed!
AND + OR are generally used along with WHERE statement, so here's your clue ;)
Otherwise, you can call it a FILTER, because that's what it is, essentially ;)
Either way, it is a CONDITION, in a good sense though ;)

So pick one you like ;)
 
Share this answer
 
Comments
Espen Harlinn 3-Jul-12 16:22pm    
Fair enough :-D
From the top of my head:

  • Association
  • Separator
  • Combiner

You might even consider calling the equality operators the "association" and the "and"/"or" the "operator". I'm thinking it would be more intuitive to say the association between inputs is that the are "equal"/"not equal"/"containing" and the operator between associations are "and"/"or".
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900