r/ProgrammerHumor • • 20d ago

Meme spanishProgrammingLanguage

Post image
18k Upvotes

112 comments sorted by

View all comments

Show parent comment

19

u/zajo_throwaway 20d 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...

3

u/headedbranch225 20d ago

Excel is also awful for even more reasons, for example if I open a csv file that contains fields that look like dates it coerces them all into the format defined by the system date format (which is awkward to change on windows) and then saves it like that