

81·
28 days agoThere is no way Google would sell Chrome. But you can bet at least a thousand engineers are working on bolting Gemini onto it right now.
There is no way Google would sell Chrome. But you can bet at least a thousand engineers are working on bolting Gemini onto it right now.
I think pythonic is more important than performance and I would still choose that version over a try-catch block, were it slower. Being pythonic means it represents a commonly understood pattern in Python code, therefore it is more efficient in communicating intent.
Apart from the quote from the zen of python, does this really make your code better though? You will end up writing 4-5 lines with an extra level of indentation. The code does the same, but has worse performance and communicates the intent poorly (compared to the “pythonic” version).
I’m sure they have all the heuristics in Cloudflare cranked up due to all programming model training aggressively digesting their content. Can’t blame them, honestly.