Switch-case fall-through dangerous?
Switch-case fall-through dangerous?
Posted Aug 31, 2018 12:26 UTC (Fri) by dezgeg (subscriber, #92243)In reply to: Switch-case fall-through dangerous? by karkhaz
Parent article: C considered dangerous
The usage of comments as "keywords" to guide static analysis is a pretty old thing. The convention dates back at least to the original 'lint' tool for UNIX from 1978! See: http://files.cnblogs.com/files/bangerlee/10.1.1.56.1841.pdf
Posted Aug 31, 2018 12:34 UTC (Fri)
by karkhaz (subscriber, #99844)
[Link] (1 responses)
Posted Aug 31, 2018 19:00 UTC (Fri)
by khim (subscriber, #9252)
[Link]
Switch-case fall-through dangerous?
Well, you could use C++, where it's standard keyword instead.
Switch-case fall-through dangerous?
