All Questions
Tagged with prefix-operator syntax
3 questions
2
votes
1
answer
353
views
Common Lisp: How to create a concatenation-prefix macro, similar to '? [closed]
Common Lisp macros typically use included-prefix notation: (operator stuff...)
However, the special quote macro ' uses concatenated-prefix notation: operator stuff , or alternatively operator(stuff)....
14
votes
4
answers
29k
views
overloading postfix and prefix operators
Please consider the following code:
#include <iostream>
using namespace std;
class Digit
{
private:
int m_digit;
public:
Digit(int ndigit = 0) {
m_digit = ndigit;
}
...
398
votes
17
answers
378k
views
Why avoid increment ("++") and decrement ("--") operators in JavaScript?
One of the tips for jslint tool is:
++ and --
The ++ (increment) and -- (decrement)
operators have been known to contribute to bad code by
encouraging excessive trickiness. They
are second only to ...