Skip to main content

Explore our questions

14 votes
3 answers
2k views

Why is array access not an infix operator?

4 votes
2 answers
336 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?

19 votes
7 answers
2k views

What are the downsides of supporting chained comparison operators?

2 votes
1 answer
172 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
433 views

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

45 votes
6 answers
13k views

Why do programming languages use the asterisk * for multiplication?

8 votes
6 answers
4k views

Why do relational comparison operators never short-circuit?

17 votes
15 answers
1k views

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

6 votes
2 answers
452 views

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

8 votes
4 answers
410 views

What are the potential problems with assignment operators returning the new-value operand and how can they be avoided or mitigated?

14 votes
11 answers
991 views

What alternatives are there for C++ operator overloading syntax?

6 votes
6 answers
366 views

Ways to have operators for both normal and floor division

3 votes
4 answers
282 views

Common postfix representations of pointer/reference operations

Browse more Questions