r/ProgrammerHumor • • 19d ago

Meme itWasJustOneVariable

Post image
3.5k Upvotes

57 comments sorted by

View all comments

Show parent comment

3

u/Weekly-Beginning-229 17d ago

Well if your local variable affects other systems then i think something else is wrong

1

u/Roadrunner571 16d ago

In a large codebase that grew over decades and got code from many company mergers, there might be a few surprises.

I've seen some crazy stuff.

But even with good code, renaming can break something. Imagine a part of an SDK that can break if you rename a function that third-party code calls.