Skip to main content

Explore our questions

18 votes
2 answers
4k views

What is the origin of ++ and --?

34 votes
6 answers
6k views

Why do most languages have a complete operator precedence?

13 votes
2 answers
996 views

What optimizations are possible with unsequenced operators?

9 votes
8 answers
1k views

Advantages/disavantages of including the comma operator?

21 votes
6 answers
5k views

Why is array access not an infix operator?

4 votes
2 answers
571 views

Can two infix operators have the same priority, but different associativity? If so, how would it be implemented in the parser?

11 votes
4 answers
5k views

How do you correctly compile the chained comparison operators like ones that exist in Python (`a < b < c`), if `b` might have side-effects?

21 votes
7 answers
3k views

What are the downsides of supporting chained comparison operators?

2 votes
1 answer
759 views

How is the VHDL operator `<=`, which can be both right-associative (signal assignment) and left-associative (less-than-or-equal), parsed?

10 votes
3 answers
2k views

What should be the precedence of the bitwise operators relative to each others?

47 votes
6 answers
15k views

Why do programming languages use the asterisk * for multiplication?

8 votes
6 answers
4k views

Why do relational comparison operators never short-circuit?

18 votes
15 answers
2k views

What are the syntax options for implementing a ternary "if" operator?

6 votes
2 answers
2k views

If size could be determined at compile time then why could size not be determined at preprocess time?

Browse more Questions