r/ProgrammerHumor
•
u/Apprehensive_Bit7392
•
24d ago
•
4
2
Meme spanishProgrammingLanguage
18k
Upvotes
View all comments
Show parent comment
19
u/zajo_throwaway 24d ago
Because there's a risk of keywords clashing with identifiers (i.e. function/variable names etc.). That, and portability.
Imagine handing your source code to a friend and your program fails to compile on their machine.
Or, worse, it compiles but behaves differently when run.
Compiler flags (and a project file or Makefile or something that you ship with your source code) can solve this to some degree, but in general features like these are considered a net negative.
Just look at Excel. As someone else pointed out in a sibling comment, it has the feature you want. Yet, everyone hates it. Like, why does it say this function doesn't exist? Oh, it wants me to translate the function name to my native language in my head...