News for hackers. Stuff that matters.
Re:Formalizing Python F-Strings by brennvin on Saturday January 14, 2023 @05:57AM (#34379216)
What if the compiler issued a warning if the f was missing and let you suppress the warning with an r?
Re:Formalizing Python F-Strings by setr on Saturday January 14, 2023 @06:28AM (#34379409)
Then it might as well be fstrings by default, rstrings for raw.
Re:Formalizing Python F-Strings by brennvin on Saturday January 14, 2023 @06:44AM (#34379503)
Good idea! If we do away with f strings entirely the problem does not occur.