jeudi 24 septembre 2015

Why do language designers keep re-using keywords?

What is the main argument in favor of re-using short keywords (and adding context-dependent meanings) instead of just adding more keywords?

Is it just that you want to avoid breaking existing code that may already be using a proposed new keyword, or is there a deeper reason?

The new "enum class" in C++11 got me thinking about this, but this is a general language design question.

Aucun commentaire:

Enregistrer un commentaire