Stannum

Improving C operators

2015-06-06 Permalink

Over the years C’s expression syntax was frequently praised for its expressiveness. No wander many programming languages inherited parts of the C grammar and its expressions, despite them being considered too cryptic for novices. However, C operator precedence and associativity rules have a bunch of historical dumbness. This would be OK on its own, but those programming languages, including C++, Java and C#, did not bother to fix any of these problems.

Share on