Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
For questions about operators in programming languages. Operators are built-in tokens that perform specific operations on their operands distinct from functions.
3
votes
What are the advantages of keyword based syntax versus punctuation based syntax?
Some main perceived advantages of punctuation-heavy syntax are that:
it tends to fit more functionality into a smaller screen space;
it's usually easier to scribble out on paper;
it can avoid visual …
2
votes
Why do relational comparison operators never short-circuit?
In the case of operators which take Boolean operands and are amenable to short-circuiting, there are only two possible cases to consider in determining whether to short-circuit or not - one case means … However, with the range comparison operators on integers (and other number types), there are a large range of possible values, and only a small number of cases in which the short-circuit could be triggered …
1
vote
Ternary operators other than ?:
In SQL, as well as the BETWEEN operator already mentioned, I tend to regard the joins themselves as ternary operators.
A LEFT JOIN ... ON takes two table operands, plus a control expression. …
0
votes
Advantages/disavantages of including the comma operator?
I don't know how much the comma operator is used in practice for this, but surely one of the original intended purposes would have been to assign an intermediary variable to avoid repeating common sub …
3
votes
Why are expressions in languages so prone to integer overflow?
Expressions are prone to overflow because computers are designed top to bottom to have that proneness.
Both the term "integer" and the syntax for expressions is drawn from traditional mathematics, but …