r/ProgrammerHumor • • Jun 16 '20

Meme Meanwhile.

Post image
50.6k Upvotes

2.9k comments sorted by

View all comments

Show parent comments

159

u/Buddy-Matt Jun 16 '20

No code should rely on any form of naming with any chance of being changed by a third party. That's what config files are for!

116

u/arathorn76 Jun 16 '20

No naming schemes should be changed after development started or all your devs have to slave away in updating naming in the code

2

u/wang-bang Jun 16 '20

Regex is your friend

Its the shitty friend that always talks in weird ways that takes hours to decipher the meaning to every statement. Like when your ex girl friend wanted icecream but you got vanilla with chocolate sauce while she wanted Ben & Jerry and then you slept on the couch that night

6

u/arathorn76 Jun 16 '20

I like Regex.

Unfortunately I'm an ABAP dev - no regexing the code without copy pasting to a decent editor. In other words back to busy work/slaving

1

u/[deleted] Jun 16 '20

Doesn’t feel like my friend

2

u/Cryse_XIII Jun 16 '20

All my fieldbyname()-functions, noooooooo!

1

u/FilterBubbles Jun 16 '20

This is why we need to use GUIDS for all naming purposes. Functions, variables, etc.

1

u/Buddy-Matt Jun 16 '20

This sounds like the kind of refactoring my code deserves