??? 07/15/09 16:35 Read: times |
#167354 - C intentionally designed to support "clever" developers Responding to: ???'s previous message |
Andy Neil said:
If someone shoots themself in the foot, it's not the gun's fault! It actually does happen that it is the gun's fault, in case the gun has been abused or there is a design fault. But the probability is small. The issue here is that C is written specifically to allow you to shoot yourself in the foot if you want to. It is a language where you don't have to spend half the day just to figure out what work-arounds it will take to get the compiler to accept something tricky. Just as in assembler, you can do a huge amount of dumb things in C. But the higher abstraction allows the C compiler to issue warnings when you are overly clever. |