77
Python f-string quiz
(fstrings.wtf)
Welcome to the Python community on the programming.dev Lemmy instance!
Past
November 2023
October 2023
July 2023
August 2023
September 2023
Python has an "Optional" type, but it's merely an alias for
T | None
. I wish Python had better support for FP, but each time it gets close, it doesn't quite go far enough.For example, it now has
match
blocks, but there's no error if the match is exhaustive, which hurts formal proofs of correctness. Likewise, tons of other features fall a bit short, but in general it's workable with some discipline.