3 ms·
Ironic to see this today. I spent an hour debugging this very same issue this morning. I was just doing some simple refactoring, changing a hard coded sting in
by wirthjason 5y ago
Ironic to see this today. I spent an hour debugging this very same issue this morning.
I was just doing some simple refactoring, changing a hard coded sting into a parameterized list of f-strings that’s filtered and joined back into a string.
I’m glad that I had unit tests that caught the problem! I couldn’t figure out why it was breaking, that comma is very devilish to spot with the naked eye. I’m surprised my linters didn’t catch it either. Maybe time to revisit them.