3 ms·
Out of millions of CVEs, one is plausibly related to this coding style. I don't think that's a strong argument for using the more verbose style. If we saw thi
by loeg 10y ago
Out of millions of CVEs, one is plausibly related to this coding style. I don't think that's a strong argument for using the more verbose style. If we saw this all the time it might be a different matter.
I think it is a strong argument for compilers' -Wall to detect misindented statements directly following unbracketed conditional expressions, though.
- chris_wot 10y agoDoes this make it a moo-t point?
- paulddraper 10y agoAlso a strong argument for Python's syntax :)
- Grue3 10y agoExcept in Python both the incorrect and correct code are syntactically valid and the error cannot be detected by auto-formatter.