bandit Gangwere
Jan 20, 2022

--

I had a gig on the next design of a medical device. The key function was about 1000 lines of a C state machine. Very few comments. It took me a month to document what it was doing. We made it's replacement table-driven. The new code was under 200 LOC in total (several small functions). Including comments.

--

--

bandit Gangwere

Consulting Embedded Systems Engineer with 40 years of experience with Mission-Critical Projects.