3 ms·
I’ve used both, but am a long-time Python user and prefer it for most things. It’s my “first and true love of languages”. In Python, “format-strings” were a we
by Ancapistani 6y ago
I’ve used both, but am a long-time Python user and prefer it for most things. It’s my “first and true love of languages”.
In Python, “format-strings” were a welcome improvement and “f-strings” took me a bit to warm up to but are worth it. The walrus operator, though? Sure, it’s useful in a narrow case, but it’s extremely narrow. Likewise the pattern marching stuff - it just doesn’t feel like “Python” to me, and doesn’t seem to solve any real-world problem that’s remotely close to justifying the cognitive overhead.