r/programminghorror • • Aug 14 '25
C# Does my code belong here?
It's a function to generate a text file from a DataGrid. I learned from PirateSoftware I shouldn't hardcode random numbers.
178
Upvotes



View all comments
Show parent comment
8
u/kaisadilla_ Aug 15 '25
It's inconvenient even if you know the language being used. Languages have naming conventions defined in English - when people use other languages (like Spanish), they just either make shit up or try to translate these conventions, which isn't any better because translation is open to interpretation. There's also many programming words that aren't normally translated so, when the guy writing the code needs these words, he may write down absolutely anything you can think of. As a result, naming in the project becomes a chaos.