3 ms·
I see asserts used in production code as part of flow control way too frequently, so I assume the majority of python users aren't aware of the -O flag, much les
by Vexs 1mo ago
I see asserts used in production code as part of flow control way too frequently, so I assume the majority of python users aren't aware of the -O flag, much less this behavior- which I too haven't ever heard of.
Of recently, I've noticed claude is a big fan of asserts too.
- UqWBcuFx6NV4r 1mo agoYep. I’ve had to tell Claude to basically not use assert. Thankfully it’s very complaint in this one area.