Why does a programming language need keywords?

前端 未结 13 732
野性不改
野性不改 2021-02-01 03:25

For example (in C):

int break = 1;
int for = 2;

Why will the compiler have any problems at all in deducing that break and fo

13条回答
  •  旧巷少年郎
    2021-02-01 03:52

    Because we want to keep what little sanity points we've got:

    void myfunction(bool) { .. };
    
    funcp while = &myfunction;
    while(true); 
    

提交回复
热议问题