2 ms·
During the public comment period for the original ANSI C standard, we had at least one request to add ":=" as an alternate assignment operator. We declined, but
by rootbear 9y ago
During the public comment period for the original ANSI C standard, we had at least one request to add ":=" as an alternate assignment operator. We declined, but I personally would have supported that. The use of = and == is one of my least favorite bits of C syntax.
- rootbear 9y agoThese days, I suppose we could add the Unicode character for := ≔ U+2254 COLON EQUALS and there is also ⩵ U+2A75 TWO CONSECUTIVE EQUALS SIGNS if you find typing two = characters fatiguing...