3 ms·
Interesting. Thanks for the post. I always just concatenated them out of laziness, and this looks even lazier.
by tudelo 9y ago
Interesting. Thanks for the post. I always just concatenated them out of laziness, and this looks even lazier.
- odonnellryan 9y agoIt's super nice when you're working on reporting software: software that needs to quickly shoot out a string like this from time-to-time! It's much nicer to write this: f"{account_name} {pretty_date(start_date)} - {pretty_date(end_date)} account attribution" and MUCH easier to maintain than the alternative...!